#284E90#284E90

#284E90 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.3% C 0.117 H 260.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#284E90
RGBrgb(40, 78, 144)
HSLhsl(218, 57%, 36%)
HSVhsv(218, 72%, 56%)
CMYKcmyk(72.2%, 45.8%, 0%, 43.5%)
CIE-LABlab(33.80, 10.09, -40.49)
CIE-LCHlch(33.80, 41.72, 283.99°)
OKLaboklab(43.25% -0.0192 -0.1159)
OKLCHoklch(43.25% 0.117 260.6)
XYZxyz(8.6317, 7.9126, 27.4525)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E90 #906A28
analogous
#288290 #284E90 #362890
triadic
#284E90 #90284E #4E9028
tetradic
#284E90 #902882 #906A28 #289036
square
#284E90 #902882 #906A28 #289036
split-complementary
#284E90 #903628 #829028
monochromatic
#0D1A30 #1B3460 #284E90 #3568C0 #608AD3

Accessibility & contrast

On white

8.13
#284E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284E90
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E90#FFFFFF#000000##FFFFFF
##284E901.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5593
Deuteranopia (green-blind)
#194B8F
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #284e90;
/* rgb */ color: rgb(40, 78, 144);
/* oklch */ color: oklch(43.3% 0.117 260.6);
Tailwind
colors: {
  custom: {
    50: '#6f7fb1',
    500: '#284e90',
    950: '#000000',
  },
}
SCSS
$custom: #284e90;
$custom-light: #6f7fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#284e90",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 144
  },
  "hsl": {
    "h": 218.077,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43251,
    "c": 0.11744,
    "h": 260.6
  },
  "luminance": 0.07914
}

Semantic roles & 50–950 ramp

primary
#284E90
secondary
#B8965C
accent
#A848E0
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #284E90

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

Preview Lab → · Contrast checker → · Palette generator →

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