#284D90#284D90

#284D90 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.0% C 0.119 H 261.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#284D90
RGBrgb(40, 77, 144)
HSLhsl(219, 57%, 36%)
HSVhsv(219, 72%, 56%)
CMYKcmyk(72.2%, 46.5%, 0%, 43.5%)
CIE-LABlab(33.50, 10.76, -40.96)
CIE-LCHlch(33.50, 42.35, 284.71°)
OKLaboklab(43.02% -0.0182 -0.1173)
OKLCHoklch(43.02% 0.119 261.2)
XYZxyz(8.5612, 7.7716, 27.4290)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D90 #906B28
analogous
#288190 #284D90 #372890
triadic
#284D90 #90284D #4D9028
tetradic
#284D90 #902881 #906B28 #289037
square
#284D90 #902881 #906B28 #289037
split-complementary
#284D90 #903728 #819028
monochromatic
#0D1A30 #1B3360 #284D90 #3567C0 #6089D3

Accessibility & contrast

On white

8.22
#284D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#284D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D90
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D90#FFFFFF#000000##FFFFFF
##284D901.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5493
Deuteranopia (green-blind)
#164A8F
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #284d90;
/* rgb */ color: rgb(40, 77, 144);
/* oklch */ color: oklch(43.0% 0.119 261.2);
Tailwind
colors: {
  custom: {
    50: '#6f7eb1',
    500: '#284d90',
    950: '#000000',
  },
}
SCSS
$custom: #284d90;
$custom-light: #6f7eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#284d90",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 144
  },
  "hsl": {
    "h": 218.654,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43021,
    "c": 0.11869,
    "h": 261.2
  },
  "luminance": 0.07772
}

Semantic roles & 50–950 ramp

primary
#284D90
secondary
#B8975C
accent
#AA48E0
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #284D90

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

Preview Lab → · Contrast checker → · Palette generator →

#284D90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva