#284D94#284D94

#284D94 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.124 H 261.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#284D94
RGBrgb(40, 77, 148)
HSLhsl(219, 57%, 37%)
HSVhsv(219, 73%, 58%)
CMYKcmyk(73%, 48%, 0%, 42%)
CIE-LABlab(33.77, 12.31, -42.98)
CIE-LCHlch(33.77, 44.70, 285.98°)
OKLaboklab(43.31% -0.0175 -0.1232)
OKLCHoklch(43.31% 0.124 261.9)
XYZxyz(8.8723, 7.8960, 29.0677)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D94 #946F28
analogous
#288394 #284D94 #392894
triadic
#284D94 #94284D #4D9428
tetradic
#284D94 #942883 #946F28 #289439
square
#284D94 #942883 #946F28 #289439
split-complementary
#284D94 #943928 #839428
monochromatic
#0E1B34 #1B3464 #284D94 #3566C4 #6289D5

Accessibility & contrast

On white

8.14
#284D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#284D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D94
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D94#FFFFFF#000000##FFFFFF
##284D941.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275597
Deuteranopia (green-blind)
#0D4B93
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #284d94;
/* rgb */ color: rgb(40, 77, 148);
/* oklch */ color: oklch(43.3% 0.124 261.9);
Tailwind
colors: {
  custom: {
    50: '#707eb4',
    500: '#284d94',
    950: '#000000',
  },
}
SCSS
$custom: #284d94;
$custom-light: #707eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#284d94",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 148
  },
  "hsl": {
    "h": 219.444,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43308,
    "c": 0.12445,
    "h": 261.9
  },
  "luminance": 0.07897
}

Semantic roles & 50–950 ramp

primary
#284D94
secondary
#BA9A5E
accent
#AC47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #284D94

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

Preview Lab → · Contrast checker → · Palette generator →

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