#284191#284191

#284191 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.136 H 267.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#284191
RGBrgb(40, 65, 145)
HSLhsl(226, 57%, 36%)
HSVhsv(226, 72%, 57%)
CMYKcmyk(72.4%, 55.2%, 0%, 43.1%)
CIE-LABlab(30.10, 19.28, -47.07)
CIE-LCHlch(30.10, 50.86, 292.27°)
OKLaboklab(40.45% -0.007 -0.1354)
OKLCHoklch(40.45% 0.136 267)
XYZxyz(7.8744, 6.2752, 27.5788)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284191 #917828
analogous
#287691 #284191 #442891
triadic
#284191 #912841 #419128
tetradic
#284191 #912876 #917828 #289144
square
#284191 #912876 #917828 #289144
split-complementary
#284191 #914428 #769128
monochromatic
#0E1631 #1B2B61 #284191 #3557C1 #607CD3

Accessibility & contrast

On white

9.31
#284191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#284191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284191
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284191#FFFFFF#000000##FFFFFF
##2841911.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034C94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #284191;
/* rgb */ color: rgb(40, 65, 145);
/* oklch */ color: oklch(40.4% 0.136 267.0);
Tailwind
colors: {
  custom: {
    50: '#7075b2',
    500: '#284191',
    950: '#000000',
  },
}
SCSS
$custom: #284191;
$custom-light: #7075b2;
$custom-dark: #000000;
JSON
{
  "hex": "#284191",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 145
  },
  "hsl": {
    "h": 225.714,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40447,
    "c": 0.13563,
    "h": 267
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

primary
#284191
secondary
#B9A35C
accent
#BC48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #284191

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

Preview Lab → · Contrast checker → · Palette generator →

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