#284A90#284A90

#284A90 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.3% C 0.122 H 262.8°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#284A90
RGBrgb(40, 74, 144)
HSLhsl(220, 57%, 36%)
HSVhsv(220, 72%, 56%)
CMYKcmyk(72.2%, 48.6%, 0%, 43.5%)
CIE-LABlab(32.62, 12.78, -42.39)
CIE-LCHlch(32.62, 44.27, 286.77°)
OKLaboklab(42.34% -0.0153 -0.1215)
OKLCHoklch(42.34% 0.122 262.8)
XYZxyz(8.3561, 7.3614, 27.3607)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A90 #906E28
analogous
#287E90 #284A90 #3A2890
triadic
#284A90 #90284A #4A9028
tetradic
#284A90 #90287E #906E28 #28903A
square
#284A90 #90287E #906E28 #28903A
split-complementary
#284A90 #903A28 #7E9028
monochromatic
#0D1930 #1B3160 #284A90 #3563C0 #6085D3

Accessibility & contrast

On white

8.49
#284A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#284A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A90
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A90#FFFFFF#000000##FFFFFF
##284A901.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255293
Deuteranopia (green-blind)
#0A488F
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284a90;
/* rgb */ color: rgb(40, 74, 144);
/* oklch */ color: oklch(42.3% 0.122 262.8);
Tailwind
colors: {
  custom: {
    50: '#707cb1',
    500: '#284a90',
    950: '#000000',
  },
}
SCSS
$custom: #284a90;
$custom-light: #707cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#284a90",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 144
  },
  "hsl": {
    "h": 220.385,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42341,
    "c": 0.12249,
    "h": 262.8
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#284A90
secondary
#B89A5C
accent
#AE48E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #284A90

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

Preview Lab → · Contrast checker → · Palette generator →

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