#284188#284188

#284188 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.123 H 266.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#284188
RGBrgb(40, 65, 136)
HSLhsl(224, 55%, 35%)
HSVhsv(224, 71%, 53%)
CMYKcmyk(70.6%, 52.2%, 0%, 46.7%)
CIE-LABlab(29.43, 15.80, -42.59)
CIE-LCHlch(29.43, 45.43, 290.35°)
OKLaboklab(39.74% -0.0079 -0.1223)
OKLCHoklch(39.74% 0.123 266.3)
XYZxyz(7.2078, 6.0086, 24.0677)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284188 #886F28
analogous
#287188 #284188 #3F2888
triadic
#284188 #882841 #418828
tetradic
#284188 #882871 #886F28 #28883F
square
#284188 #882871 #886F28 #28883F
split-complementary
#284188 #883F28 #718828
monochromatic
#0C1429 #1A2A59 #284188 #3658B7 #5B7ACF

Accessibility & contrast

On white

9.54
#284188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#284188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284188
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284188#FFFFFF#000000##FFFFFF
##2841881.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174A8B
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284188;
/* rgb */ color: rgb(40, 65, 136);
/* oklch */ color: oklch(39.7% 0.123 266.3);
Tailwind
colors: {
  custom: {
    50: '#6e75ab',
    500: '#284188',
    950: '#000000',
  },
}
SCSS
$custom: #284188;
$custom-light: #6e75ab;
$custom-dark: #000000;
JSON
{
  "hex": "#284188",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 136
  },
  "hsl": {
    "h": 224.375,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39735,
    "c": 0.12255,
    "h": 266.3
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#284188
secondary
#B49C58
accent
#B74ADE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #284188

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

Preview Lab → · Contrast checker → · Palette generator →

#284188 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva