#284B91#284B91

#284B91 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.123 H 262.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#284B91
RGBrgb(40, 75, 145)
HSLhsl(220, 57%, 36%)
HSVhsv(220, 72%, 57%)
CMYKcmyk(72.4%, 48.3%, 0%, 43.1%)
CIE-LABlab(32.98, 12.49, -42.42)
CIE-LCHlch(32.98, 44.22, 286.41°)
OKLaboklab(42.64% -0.0161 -0.1216)
OKLCHoklch(42.64% 0.123 262.4)
XYZxyz(8.5002, 7.5267, 27.7874)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B91 #916E28
analogous
#288091 #284B91 #3A2891
triadic
#284B91 #91284B #4B9128
tetradic
#284B91 #912880 #916E28 #28913A
square
#284B91 #912880 #916E28 #28913A
split-complementary
#284B91 #913A28 #809128
monochromatic
#0E1931 #1B3261 #284B91 #3564C1 #6087D3

Accessibility & contrast

On white

8.38
#284B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#284B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B91
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B91#FFFFFF#000000##FFFFFF
##284B911.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265394
Deuteranopia (green-blind)
#0C4990
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #284b91;
/* rgb */ color: rgb(40, 75, 145);
/* oklch */ color: oklch(42.6% 0.123 262.4);
Tailwind
colors: {
  custom: {
    50: '#707cb2',
    500: '#284b91',
    950: '#000000',
  },
}
SCSS
$custom: #284b91;
$custom-light: #707cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#284b91",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 145
  },
  "hsl": {
    "h": 220,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42639,
    "c": 0.12266,
    "h": 262.4
  },
  "luminance": 0.07528
}

Semantic roles & 50–950 ramp

primary
#284B91
secondary
#B99A5C
accent
#AD48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #284B91

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

Preview Lab → · Contrast checker → · Palette generator →

#284B91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva