#283F82#283F82

#283F82 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.8% C 0.116 H 266.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#283F82
RGBrgb(40, 63, 130)
HSLhsl(225, 53%, 33%)
HSVhsv(225, 69%, 51%)
CMYKcmyk(69.2%, 51.5%, 0%, 49%)
CIE-LABlab(28.43, 14.86, -40.49)
CIE-LCHlch(28.43, 43.13, 290.15°)
OKLaboklab(38.83% -0.0067 -0.1161)
OKLCHoklch(38.83% 0.116 266.7)
XYZxyz(6.6804, 5.6172, 21.8469)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F82 #826B28
analogous
#286C82 #283F82 #3E2882
triadic
#283F82 #82283F #3F8228
tetradic
#283F82 #82286C #826B28 #28823E
square
#283F82 #82286C #826B28 #28823E
split-complementary
#283F82 #823E28 #6C8228
monochromatic
#0B1224 #1A2853 #283F82 #3656B1 #5976CC

Accessibility & contrast

On white

9.89
#283F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#283F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F82
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F82#FFFFFF#000000##FFFFFF
##283F821.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194784
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #283f82;
/* rgb */ color: rgb(40, 63, 130);
/* oklch */ color: oklch(38.8% 0.116 266.7);
Tailwind
colors: {
  custom: {
    50: '#6d73a7',
    500: '#283f82',
    950: '#000000',
  },
}
SCSS
$custom: #283f82;
$custom-light: #6d73a7;
$custom-dark: #000000;
JSON
{
  "hex": "#283f82",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 130
  },
  "hsl": {
    "h": 224.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38832,
    "c": 0.11633,
    "h": 266.7
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#283F82
secondary
#B19955
accent
#B74BDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #283F82

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

Preview Lab → · Contrast checker → · Palette generator →

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