#284088#284088

#284088 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.124 H 266.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#284088
RGBrgb(40, 64, 136)
HSLhsl(225, 55%, 35%)
HSVhsv(225, 71%, 53%)
CMYKcmyk(70.6%, 52.9%, 0%, 46.7%)
CIE-LABlab(29.15, 16.49, -43.06)
CIE-LCHlch(29.15, 46.11, 290.95°)
OKLaboklab(39.52% -0.007 -0.1237)
OKLCHoklch(39.52% 0.124 266.8)
XYZxyz(7.1509, 5.8948, 24.0487)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284088 #887028
analogous
#287088 #284088 #402888
triadic
#284088 #882840 #408828
tetradic
#284088 #882870 #887028 #288840
square
#284088 #882870 #887028 #288840
split-complementary
#284088 #884028 #708828
monochromatic
#0C1329 #1A2A59 #284088 #3656B7 #5B78CF

Accessibility & contrast

On white

9.64
#284088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#284088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284088
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284088#FFFFFF#000000##FFFFFF
##2840881.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14498B
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284088;
/* rgb */ color: rgb(40, 64, 136);
/* oklch */ color: oklch(39.5% 0.124 266.8);
Tailwind
colors: {
  custom: {
    50: '#6e74ab',
    500: '#284088',
    950: '#000000',
  },
}
SCSS
$custom: #284088;
$custom-light: #6e74ab;
$custom-dark: #000000;
JSON
{
  "hex": "#284088",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 136
  },
  "hsl": {
    "h": 225,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39516,
    "c": 0.12387,
    "h": 266.8
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#284088
secondary
#B49D58
accent
#B94ADE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #284088

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

Preview Lab → · Contrast checker → · Palette generator →

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