#284F92#284F92

#284F92 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.6% C 0.119 H 260.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#284F92
RGBrgb(40, 79, 146)
HSLhsl(218, 57%, 36%)
HSVhsv(218, 73%, 57%)
CMYKcmyk(72.6%, 45.9%, 0%, 42.7%)
CIE-LABlab(34.23, 10.19, -41.02)
CIE-LCHlch(34.23, 42.27, 283.96°)
OKLaboklab(43.62% -0.0197 -0.1174)
OKLCHoklch(43.62% 0.119 260.5)
XYZxyz(8.8575, 8.1175, 28.2886)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F92 #926B28
analogous
#288492 #284F92 #362892
triadic
#284F92 #92284F #4F9228
tetradic
#284F92 #922884 #926B28 #289236
square
#284F92 #922884 #926B28 #289236
split-complementary
#284F92 #923628 #849228
monochromatic
#0E1B32 #1B3562 #284F92 #3569C2 #618BD4

Accessibility & contrast

On white

8.00
#284F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#284F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F92
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F92#FFFFFF#000000##FFFFFF
##284F921.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5695
Deuteranopia (green-blind)
#194C91
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #284f92;
/* rgb */ color: rgb(40, 79, 146);
/* oklch */ color: oklch(43.6% 0.119 260.5);
Tailwind
colors: {
  custom: {
    50: '#707fb2',
    500: '#284f92',
    950: '#000000',
  },
}
SCSS
$custom: #284f92;
$custom-light: #707fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#284f92",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 146
  },
  "hsl": {
    "h": 217.925,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4362,
    "c": 0.11907,
    "h": 260.5
  },
  "luminance": 0.08118
}

Semantic roles & 50–950 ramp

primary
#284F92
secondary
#B9975D
accent
#A848E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #284F92

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

Preview Lab → · Contrast checker → · Palette generator →

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