#284381#284381

#284381 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.110 H 264.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#284381
RGBrgb(40, 67, 129)
HSLhsl(222, 53%, 33%)
HSVhsv(222, 69%, 51%)
CMYKcmyk(69%, 48.1%, 0%, 49.4%)
CIE-LABlab(29.54, 11.73, -38.08)
CIE-LCHlch(29.54, 39.84, 287.11°)
OKLaboklab(39.66% -0.0109 -0.109)
OKLCHoklch(39.66% 0.11 264.3)
XYZxyz(6.8433, 6.0497, 21.5717)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284381 #816628
analogous
#286F81 #284381 #392881
triadic
#284381 #812843 #438128
tetradic
#284381 #81286F #816628 #288139
square
#284381 #81286F #816628 #288139
split-complementary
#284381 #813928 #6F8128
monochromatic
#0B1224 #1A2B52 #284381 #365BB0 #587BCB

Accessibility & contrast

On white

9.50
#284381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#284381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284381
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284381#FFFFFF#000000##FFFFFF
##2843811.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244A83
Deuteranopia (green-blind)
#124280
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #284381;
/* rgb */ color: rgb(40, 67, 129);
/* oklch */ color: oklch(39.7% 0.110 264.3);
Tailwind
colors: {
  custom: {
    50: '#6d76a6',
    500: '#284381',
    950: '#000000',
  },
}
SCSS
$custom: #284381;
$custom-light: #6d76a6;
$custom-dark: #000000;
JSON
{
  "hex": "#284381",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 221.798,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39659,
    "c": 0.10952,
    "h": 264.3
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#284381
secondary
#B09454
accent
#B04CDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #284381

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

Preview Lab → · Contrast checker → · Palette generator →

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