#283F6B#283F6B

#283F6B is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.2% C 0.081 H 262.3°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#283F6B
RGBrgb(40, 63, 107)
HSLhsl(219, 46%, 29%)
HSVhsv(219, 63%, 42%)
CMYKcmyk(62.6%, 41.1%, 0%, 58%)
CIE-LABlab(26.93, 6.06, -28.37)
CIE-LCHlch(26.93, 29.01, 282.07°)
OKLaboklab(37.2% -0.0109 -0.0805)
OKLCHoklch(37.2% 0.081 262.3)
XYZxyz(5.3055, 5.0672, 14.6055)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F6B #6B5428
analogous
#28616B #283F6B #33286B
triadic
#283F6B #6B283F #3F6B28
tetradic
#283F6B #6B2861 #6B5428 #286B33
square
#283F6B #6B2861 #6B5428 #286B33
split-complementary
#283F6B #6B3328 #616B28
monochromatic
#080D16 #17253E #283F6B #395998 #5076BE

Accessibility & contrast

On white

10.43
#283F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#283F6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F6B
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F6B#FFFFFF#000000##FFFFFF
##283F6B1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C436D
Deuteranopia (green-blind)
#233D6A
Tritanopia (blue-blind)
#00494F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283f6b;
/* rgb */ color: rgb(40, 63, 107);
/* oklch */ color: oklch(37.2% 0.081 262.3);
Tailwind
colors: {
  custom: {
    50: '#687395',
    500: '#283f6b',
    950: '#000000',
  },
}
SCSS
$custom: #283f6b;
$custom-light: #687395;
$custom-dark: #000000;
JSON
{
  "hex": "#283f6b",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 107
  },
  "hsl": {
    "h": 219.403,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37197,
    "c": 0.08128,
    "h": 262.3
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#283F6B
secondary
#9D8351
accent
#A853D5
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #283F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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