#283F76#283F76

#283F76 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.098 H 265.0°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#283F76
RGBrgb(40, 63, 118)
HSLhsl(222, 49%, 31%)
HSVhsv(222, 66%, 46%)
CMYKcmyk(66.1%, 46.6%, 0%, 53.7%)
CIE-LABlab(27.61, 10.24, -34.27)
CIE-LCHlch(27.61, 35.77, 286.64°)
OKLaboklab(37.95% -0.0085 -0.0978)
OKLCHoklch(37.95% 0.098 265)
XYZxyz(5.9215, 5.3136, 17.8496)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F76 #765F28
analogous
#286676 #283F76 #382876
triadic
#283F76 #76283F #3F7628
tetradic
#283F76 #762866 #765F28 #287638
square
#283F76 #762866 #765F28 #287638
split-complementary
#283F76 #763828 #667628
monochromatic
#090E1B #192748 #283F76 #3757A4 #5475C5

Accessibility & contrast

On white

10.18
#283F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#283F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F76
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F76#FFFFFF#000000##FFFFFF
##283F761.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254578
Deuteranopia (green-blind)
#183E75
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283f76;
/* rgb */ color: rgb(40, 63, 118);
/* oklch */ color: oklch(37.9% 0.098 265.0);
Tailwind
colors: {
  custom: {
    50: '#6b739e',
    500: '#283f76',
    950: '#000000',
  },
}
SCSS
$custom: #283f76;
$custom-light: #6b739e;
$custom-dark: #000000;
JSON
{
  "hex": "#283f76",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 118
  },
  "hsl": {
    "h": 222.308,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37947,
    "c": 0.09821,
    "h": 265
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#283F76
secondary
#A88F52
accent
#B04FD9
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #283F76

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#283F76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva