#284388#284388

#284388 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.2% C 0.120 H 265.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#284388
RGBrgb(40, 67, 136)
HSLhsl(223, 55%, 35%)
HSVhsv(223, 71%, 53%)
CMYKcmyk(70.6%, 50.7%, 0%, 46.7%)
CIE-LABlab(30.02, 14.43, -41.65)
CIE-LCHlch(30.02, 44.08, 289.11°)
OKLaboklab(40.18% -0.0098 -0.1195)
OKLCHoklch(40.18% 0.12 265.3)
XYZxyz(7.3246, 6.2423, 24.1066)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284388 #886D28
analogous
#287388 #284388 #3D2888
triadic
#284388 #882843 #438828
tetradic
#284388 #882873 #886D28 #28883D
square
#284388 #882873 #886D28 #28883D
split-complementary
#284388 #883D28 #738828
monochromatic
#0C1429 #1A2C59 #284388 #365AB7 #5B7CCF

Accessibility & contrast

On white

9.34
#284388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#284388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284388
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284388#FFFFFF#000000##FFFFFF
##2843881.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4B8B
Deuteranopia (green-blind)
#004387
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #284388;
/* rgb */ color: rgb(40, 67, 136);
/* oklch */ color: oklch(40.2% 0.120 265.3);
Tailwind
colors: {
  custom: {
    50: '#6e76ab',
    500: '#284388',
    950: '#000000',
  },
}
SCSS
$custom: #284388;
$custom-light: #6e76ab;
$custom-dark: #000000;
JSON
{
  "hex": "#284388",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 136
  },
  "hsl": {
    "h": 223.125,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40177,
    "c": 0.11989,
    "h": 265.3
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#284388
secondary
#B49A58
accent
#B44ADE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #284388

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

Preview Lab → · Contrast checker → · Palette generator →

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