#284194#284194

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

Color values

HEX#284194
RGBrgb(40, 65, 148)
HSLhsl(226, 57%, 37%)
HSVhsv(226, 73%, 58%)
CMYKcmyk(73%, 56.1%, 0%, 42%)
CIE-LABlab(30.32, 20.43, -48.53)
CIE-LCHlch(30.32, 52.66, 292.83°)
OKLaboklab(40.69% -0.0068 -0.1398)
OKLCHoklch(40.69% 0.14 267.2)
XYZxyz(8.1088, 6.3690, 28.8132)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284194 #947B28
analogous
#287794 #284194 #452894
triadic
#284194 #942841 #419428
tetradic
#284194 #942877 #947B28 #289445
square
#284194 #942877 #947B28 #289445
split-complementary
#284194 #944528 #779428
monochromatic
#0E1734 #1B2C64 #284194 #3556C4 #627CD5

Accessibility & contrast

On white

9.23
#284194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#284194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284194
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284194#FFFFFF#000000##FFFFFF
##2841941.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #284194;
/* rgb */ color: rgb(40, 65, 148);
/* oklch */ color: oklch(40.7% 0.140 267.2);
Tailwind
colors: {
  custom: {
    50: '#7175b4',
    500: '#284194',
    950: '#000000',
  },
}
SCSS
$custom: #284194;
$custom-light: #7175b4;
$custom-dark: #000000;
JSON
{
  "hex": "#284194",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 148
  },
  "hsl": {
    "h": 226.111,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40692,
    "c": 0.13993,
    "h": 267.2
  },
  "luminance": 0.0637
}

Semantic roles & 50–950 ramp

primary
#284194
secondary
#BAA55E
accent
#BD47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284194

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

Preview Lab → · Contrast checker → · Palette generator →

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