#283F8A

A color in the Blue, Sky, Navy family

#283f8a is a color in the Blue, Sky, Navy family: RGB(40, 63, 138), HSL(226°, 55%, 35%), CMYK(71%, 54%, 0%, 46%). Closest named color: darkslateblue. Contrast is 9.69:1 on white and 2.17:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#283f8a
RGBrgb(40 63 138)
RGB (legacy)rgb(40, 63, 138)
RGB %rgb(16% 25% 54%)
HSLhsl(226 55% 35%)
HSV / HSBhsv(226, 71%, 54%)
HWBhwb(226 16% 46%)
CMYKcmyk(71%, 54%, 0%, 46%)
CIELAB (D50)lab(28.32 12.22 -45.45)
LCHlch(28.32 47.06 285.05)
OKLaboklab(0.3946 -0.0058 -0.128)
OKLCHoklch(0.3946 0.1281 267.39)
Decimal2637706

Properties

Color ToneBlue, Sky, Navy
Closest named colordarkslateblue ΔE 4.6
Closest web-safe color#333399
Hue226°
Saturation (HSL / HSV)55% / 71%
Lightness (HSL)35%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)25% / 25%
Relative luminance (WCAG)0.0584
Red / Green / Blue40 / 63 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.69:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.17:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 92.1 / -10.3 · As background with white / black text: Lc -96.3 / 11.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #283f8a;
  --color-brand-oklch: oklch(39.46% 0.1281 267.39);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(40 63 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#283f8a] text-[#283f8a] border-[#283f8a]">