#284B94#284B94

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

Color values

HEX#284B94
RGBrgb(40, 75, 148)
HSLhsl(221, 57%, 37%)
HSVhsv(221, 73%, 58%)
CMYKcmyk(73%, 49.3%, 0%, 42%)
CIE-LABlab(33.18, 13.65, -43.92)
CIE-LCHlch(33.18, 45.99, 287.27°)
OKLaboklab(42.86% -0.0157 -0.126)
OKLCHoklch(42.86% 0.127 262.9)
XYZxyz(8.7345, 7.6205, 29.0218)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B94 #947128
analogous
#288194 #284B94 #3B2894
triadic
#284B94 #94284B #4B9428
tetradic
#284B94 #942881 #947128 #28943B
square
#284B94 #942881 #947128 #28943B
split-complementary
#284B94 #943B28 #819428
monochromatic
#0E1A34 #1B3364 #284B94 #3563C4 #6287D5

Accessibility & contrast

On white

8.32
#284B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284B94
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B94#FFFFFF#000000##FFFFFF
##284B941.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235397
Deuteranopia (green-blind)
#034993
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #284b94;
/* rgb */ color: rgb(40, 75, 148);
/* oklch */ color: oklch(42.9% 0.127 262.9);
Tailwind
colors: {
  custom: {
    50: '#707cb4',
    500: '#284b94',
    950: '#000000',
  },
}
SCSS
$custom: #284b94;
$custom-light: #707cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#284b94",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 148
  },
  "hsl": {
    "h": 220.556,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42859,
    "c": 0.12699,
    "h": 262.9
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

primary
#284B94
secondary
#BA9C5E
accent
#AF47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #284B94

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

Preview Lab → · Contrast checker → · Palette generator →

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