#284A92#284A92

#284A92 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.125 H 263.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#284A92
RGBrgb(40, 74, 146)
HSLhsl(221, 57%, 36%)
HSVhsv(221, 73%, 57%)
CMYKcmyk(72.6%, 49.3%, 0%, 42.7%)
CIE-LABlab(32.75, 13.55, -43.39)
CIE-LCHlch(32.75, 45.46, 287.34°)
OKLaboklab(42.49% -0.015 -0.1245)
OKLCHoklch(42.49% 0.125 263.1)
XYZxyz(8.5103, 7.4231, 28.1729)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A92 #927028
analogous
#287F92 #284A92 #3B2892
triadic
#284A92 #92284A #4A9228
tetradic
#284A92 #92287F #927028 #28923B
square
#284A92 #92287F #927028 #28923B
split-complementary
#284A92 #923B28 #7F9228
monochromatic
#0E1932 #1B3262 #284A92 #3562C2 #6186D4

Accessibility & contrast

On white

8.45
#284A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#284A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A92
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A92#FFFFFF#000000##FFFFFF
##284A921.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235295
Deuteranopia (green-blind)
#044891
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284a92;
/* rgb */ color: rgb(40, 74, 146);
/* oklch */ color: oklch(42.5% 0.125 263.1);
Tailwind
colors: {
  custom: {
    50: '#707cb2',
    500: '#284a92',
    950: '#000000',
  },
}
SCSS
$custom: #284a92;
$custom-light: #707cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#284a92",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 146
  },
  "hsl": {
    "h": 220.755,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42488,
    "c": 0.12538,
    "h": 263.1
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#284A92
secondary
#B99C5D
accent
#AF48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #284A92

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

Preview Lab → · Contrast checker → · Palette generator →

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