#284A97#284A97

#284A97 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.133 H 263.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#284A97
RGBrgb(40, 74, 151)
HSLhsl(222, 58%, 37%)
HSVhsv(222, 74%, 59%)
CMYKcmyk(73.5%, 51%, 0%, 40.8%)
CIE-LABlab(33.10, 15.49, -45.88)
CIE-LCHlch(33.10, 48.42, 288.66°)
OKLaboklab(42.86% -0.0143 -0.1318)
OKLCHoklch(42.86% 0.133 263.8)
XYZxyz(8.9078, 7.5821, 30.2662)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A97 #977528
analogous
#288197 #284A97 #3E2897
triadic
#284A97 #97284A #4A9728
tetradic
#284A97 #972881 #977528 #28973E
square
#284A97 #972881 #977528 #28973E
split-complementary
#284A97 #973E28 #819728
monochromatic
#0E1B36 #1B3267 #284A97 #3562C7 #6487D6

Accessibility & contrast

On white

8.34
#284A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#284A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A97
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A97#FFFFFF#000000##FFFFFF
##284A971.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C539A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #284a97;
/* rgb */ color: rgb(40, 74, 151);
/* oklch */ color: oklch(42.9% 0.133 263.8);
Tailwind
colors: {
  custom: {
    50: '#717cb6',
    500: '#284a97',
    950: '#000000',
  },
}
SCSS
$custom: #284a97;
$custom-light: #717cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#284a97",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 221.622,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42862,
    "c": 0.13257,
    "h": 263.8
  },
  "luminance": 0.07583
}

Semantic roles & 50–950 ramp

primary
#284A97
secondary
#BC9F5F
accent
#B246E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284A97

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

Preview Lab → · Contrast checker → · Palette generator →

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