#284292#284292

#284292 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.136 H 266.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#284292
RGBrgb(40, 66, 146)
HSLhsl(225, 57%, 36%)
HSVhsv(225, 73%, 57%)
CMYKcmyk(72.6%, 54.8%, 0%, 42.7%)
CIE-LABlab(30.45, 18.98, -47.10)
CIE-LCHlch(30.45, 50.78, 291.95°)
OKLaboklab(40.74% -0.0078 -0.1355)
OKLCHoklch(40.74% 0.136 266.7)
XYZxyz(8.0098, 6.4220, 28.0060)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284292 #927828
analogous
#287792 #284292 #432892
triadic
#284292 #922842 #429228
tetradic
#284292 #922877 #927828 #289243
square
#284292 #922877 #927828 #289243
split-complementary
#284292 #924328 #779228
monochromatic
#0E1732 #1B2C62 #284292 #3558C2 #617DD4

Accessibility & contrast

On white

9.19
#284292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#284292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284292
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284292#FFFFFF#000000##FFFFFF
##2842921.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064D95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #284292;
/* rgb */ color: rgb(40, 66, 146);
/* oklch */ color: oklch(40.7% 0.136 266.7);
Tailwind
colors: {
  custom: {
    50: '#7075b3',
    500: '#284292',
    950: '#000000',
  },
}
SCSS
$custom: #284292;
$custom-light: #7075b3;
$custom-dark: #000000;
JSON
{
  "hex": "#284292",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 146
  },
  "hsl": {
    "h": 225.283,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4074,
    "c": 0.13576,
    "h": 266.7
  },
  "luminance": 0.06423
}

Semantic roles & 50–950 ramp

primary
#284292
secondary
#B9A25D
accent
#BB48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284292

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

Preview Lab → · Contrast checker → · Palette generator →

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