#283D6B#283D6B

#283D6B is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.7% C 0.084 H 264.2°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#283D6B
RGBrgb(40, 61, 107)
HSLhsl(221, 46%, 29%)
HSVhsv(221, 63%, 42%)
CMYKcmyk(62.6%, 43%, 0%, 58%)
CIE-LABlab(26.30, 7.44, -29.36)
CIE-LCHlch(26.30, 30.29, 284.21°)
OKLaboklab(36.71% -0.0085 -0.0835)
OKLCHoklch(36.71% 0.084 264.2)
XYZxyz(5.1967, 4.8497, 14.5693)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D6B #6B5628
analogous
#285F6B #283D6B #35286B
triadic
#283D6B #6B283D #3D6B28
tetradic
#283D6B #6B285F #6B5628 #286B35
square
#283D6B #6B285F #6B5628 #286B35
split-complementary
#283D6B #6B3528 #5F6B28
monochromatic
#080D16 #17243E #283D6B #395698 #5072BE

Accessibility & contrast

On white

10.66
#283D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#283D6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D6B
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D6B#FFFFFF#000000##FFFFFF
##283D6B1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29426D
Deuteranopia (green-blind)
#203B6A
Tritanopia (blue-blind)
#00474E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283d6b;
/* rgb */ color: rgb(40, 61, 107);
/* oklch */ color: oklch(36.7% 0.084 264.2);
Tailwind
colors: {
  custom: {
    50: '#687295',
    500: '#283d6b',
    950: '#000000',
  },
}
SCSS
$custom: #283d6b;
$custom-light: #687295;
$custom-dark: #000000;
JSON
{
  "hex": "#283d6b",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 107
  },
  "hsl": {
    "h": 221.194,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36715,
    "c": 0.08389,
    "h": 264.2
  },
  "luminance": 0.0485
}

Semantic roles & 50–950 ramp

primary
#283D6B
secondary
#9D8651
accent
#AC53D5
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #283D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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