#284892#284892

#284892 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.0% C 0.128 H 264.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#284892
RGBrgb(40, 72, 146)
HSLhsl(222, 57%, 36%)
HSVhsv(222, 73%, 57%)
CMYKcmyk(72.6%, 50.7%, 0%, 42.7%)
CIE-LABlab(32.17, 14.90, -44.33)
CIE-LCHlch(32.17, 46.77, 288.58°)
OKLaboklab(42.04% -0.0132 -0.1273)
OKLCHoklch(42.04% 0.128 264.1)
XYZxyz(8.3789, 7.1603, 28.1290)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284892 #927228
analogous
#287D92 #284892 #3D2892
triadic
#284892 #922848 #489228
tetradic
#284892 #92287D #927228 #28923D
square
#284892 #92287D #927228 #28923D
split-complementary
#284892 #923D28 #7D9228
monochromatic
#0E1932 #1B3062 #284892 #3560C2 #6183D4

Accessibility & contrast

On white

8.63
#284892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#284892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284892
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284892#FFFFFF#000000##FFFFFF
##2848921.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5195
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #284892;
/* rgb */ color: rgb(40, 72, 146);
/* oklch */ color: oklch(42.0% 0.128 264.1);
Tailwind
colors: {
  custom: {
    50: '#707ab2',
    500: '#284892',
    950: '#000000',
  },
}
SCSS
$custom: #284892;
$custom-light: #707ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#284892",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 146
  },
  "hsl": {
    "h": 221.887,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42043,
    "c": 0.12795,
    "h": 264.1
  },
  "luminance": 0.07161
}

Semantic roles & 50–950 ramp

primary
#284892
secondary
#B99D5D
accent
#B248E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #284892

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

Preview Lab → · Contrast checker → · Palette generator →

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