#284996#284996

#284996 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.132 H 264.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#284996
RGBrgb(40, 73, 150)
HSLhsl(222, 58%, 37%)
HSVhsv(222, 73%, 59%)
CMYKcmyk(73.3%, 51.3%, 0%, 41.2%)
CIE-LABlab(32.74, 15.78, -45.85)
CIE-LCHlch(32.74, 48.49, 288.99°)
OKLaboklab(42.57% -0.0136 -0.1317)
OKLCHoklch(42.57% 0.132 264.1)
XYZxyz(8.7607, 7.4173, 29.8182)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284996 #967528
analogous
#288096 #284996 #3E2896
triadic
#284996 #962849 #499628
tetradic
#284996 #962880 #967528 #28963E
square
#284996 #962880 #967528 #28963E
split-complementary
#284996 #963E28 #809628
monochromatic
#0E1A35 #1B3166 #284996 #3561C6 #6385D5

Accessibility & contrast

On white

8.46
#284996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#284996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284996
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284996#FFFFFF#000000##FFFFFF
##2849961.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5299
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284996;
/* rgb */ color: rgb(40, 73, 150);
/* oklch */ color: oklch(42.6% 0.132 264.1);
Tailwind
colors: {
  custom: {
    50: '#717bb5',
    500: '#284996',
    950: '#000000',
  },
}
SCSS
$custom: #284996;
$custom-light: #717bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#284996",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 150
  },
  "hsl": {
    "h": 222,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42567,
    "c": 0.13243,
    "h": 264.1
  },
  "luminance": 0.07418
}

Semantic roles & 50–950 ramp

primary
#284996
secondary
#BB9F5F
accent
#B347E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284996

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

Preview Lab → · Contrast checker → · Palette generator →

#284996 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva