#284287#284287

#284287 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.9% C 0.120 H 265.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#284287
RGBrgb(40, 66, 135)
HSLhsl(224, 54%, 34%)
HSVhsv(224, 70%, 53%)
CMYKcmyk(70.4%, 51.1%, 0%, 47.1%)
CIE-LABlab(29.65, 14.73, -41.62)
CIE-LCHlch(29.65, 44.15, 289.49°)
OKLaboklab(39.88% -0.009 -0.1194)
OKLCHoklch(39.88% 0.12 265.7)
XYZxyz(7.1949, 6.0961, 23.7145)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284287 #876D28
analogous
#287287 #284287 #3E2887
triadic
#284287 #872842 #428728
tetradic
#284287 #872872 #876D28 #28873E
square
#284287 #872872 #876D28 #28873E
split-complementary
#284287 #873E28 #728728
monochromatic
#0C1429 #1A2B58 #284287 #3659B6 #5B7BCE

Accessibility & contrast

On white

9.46
#284287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#284287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284287
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284287#FFFFFF#000000##FFFFFF
##2842871.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #284287;
/* rgb */ color: rgb(40, 66, 135);
/* oklch */ color: oklch(39.9% 0.120 265.7);
Tailwind
colors: {
  custom: {
    50: '#6e75aa',
    500: '#284287',
    950: '#000000',
  },
}
SCSS
$custom: #284287;
$custom-light: #6e75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#284287",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 223.579,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39879,
    "c": 0.11974,
    "h": 265.7
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#284287
secondary
#B49A57
accent
#B54ADE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #284287

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

Preview Lab → · Contrast checker → · Palette generator →

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