#284288#284288

#284288 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.121 H 265.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#284288
RGBrgb(40, 66, 136)
HSLhsl(224, 55%, 35%)
HSVhsv(224, 71%, 53%)
CMYKcmyk(70.6%, 51.5%, 0%, 46.7%)
CIE-LABlab(29.72, 15.12, -42.12)
CIE-LCHlch(29.72, 44.75, 289.74°)
OKLaboklab(39.96% -0.0089 -0.1209)
OKLCHoklch(39.96% 0.121 265.8)
XYZxyz(7.2657, 6.1244, 24.0870)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284288 #886E28
analogous
#287288 #284288 #3E2888
triadic
#284288 #882842 #428828
tetradic
#284288 #882872 #886E28 #28883E
square
#284288 #882872 #886E28 #28883E
split-complementary
#284288 #883E28 #728828
monochromatic
#0C1429 #1A2B59 #284288 #3659B7 #5B7BCF

Accessibility & contrast

On white

9.44
#284288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#284288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284288
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284288#FFFFFF#000000##FFFFFF
##2842881.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8B
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #284288;
/* rgb */ color: rgb(40, 66, 136);
/* oklch */ color: oklch(40.0% 0.121 265.8);
Tailwind
colors: {
  custom: {
    50: '#6e75ab',
    500: '#284288',
    950: '#000000',
  },
}
SCSS
$custom: #284288;
$custom-light: #6e75ab;
$custom-dark: #000000;
JSON
{
  "hex": "#284288",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 223.75,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39955,
    "c": 0.12121,
    "h": 265.8
  },
  "luminance": 0.06125
}

Semantic roles & 50–950 ramp

primary
#284288
secondary
#B49B58
accent
#B64ADE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #284288

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

Preview Lab → · Contrast checker → · Palette generator →

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