#284385#284385

#284385 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.115 H 264.9°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#284385
RGBrgb(40, 67, 133)
HSLhsl(223, 54%, 34%)
HSVhsv(223, 70%, 52%)
CMYKcmyk(69.9%, 49.6%, 0%, 47.8%)
CIE-LABlab(29.81, 13.27, -40.13)
CIE-LCHlch(29.81, 42.27, 288.30°)
OKLaboklab(39.95% -0.0102 -0.115)
OKLCHoklch(39.95% 0.115 264.9)
XYZxyz(7.1144, 6.1582, 22.9995)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284385 #856A28
analogous
#287285 #284385 #3C2885
triadic
#284385 #852843 #438528
tetradic
#284385 #852872 #856A28 #28853C
square
#284385 #852872 #856A28 #28853C
split-complementary
#284385 #853C28 #728528
monochromatic
#0C1427 #1A2B56 #284385 #365BB4 #5A7CCD

Accessibility & contrast

On white

9.41
#284385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284385
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284385#FFFFFF#000000##FFFFFF
##2843851.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204B87
Deuteranopia (green-blind)
#094284
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #284385;
/* rgb */ color: rgb(40, 67, 133);
/* oklch */ color: oklch(40.0% 0.115 264.9);
Tailwind
colors: {
  custom: {
    50: '#6d76a9',
    500: '#284385',
    950: '#000000',
  },
}
SCSS
$custom: #284385;
$custom-light: #6d76a9;
$custom-dark: #000000;
JSON
{
  "hex": "#284385",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 133
  },
  "hsl": {
    "h": 222.581,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39953,
    "c": 0.11547,
    "h": 264.9
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#284385
secondary
#B39856
accent
#B34BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #284385

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

Preview Lab → · Contrast checker → · Palette generator →

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