#284091#284091

#284091 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.137 H 267.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#284091
RGBrgb(40, 64, 145)
HSLhsl(226, 57%, 36%)
HSVhsv(226, 72%, 57%)
CMYKcmyk(72.4%, 55.9%, 0%, 43.1%)
CIE-LABlab(29.82, 19.96, -47.52)
CIE-LCHlch(29.82, 51.54, 292.78°)
OKLaboklab(40.24% -0.0062 -0.1368)
OKLCHoklch(40.24% 0.137 267.4)
XYZxyz(7.8175, 6.1614, 27.5599)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284091 #917928
analogous
#287591 #284091 #452891
triadic
#284091 #912840 #409128
tetradic
#284091 #912875 #917928 #289145
square
#284091 #912875 #917928 #289145
split-complementary
#284091 #914528 #759128
monochromatic
#0E1631 #1B2B61 #284091 #3555C1 #607AD3

Accessibility & contrast

On white

9.41
#284091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#284091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284091
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284091#FFFFFF#000000##FFFFFF
##2840911.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #284091;
/* rgb */ color: rgb(40, 64, 145);
/* oklch */ color: oklch(40.2% 0.137 267.4);
Tailwind
colors: {
  custom: {
    50: '#7074b2',
    500: '#284091',
    950: '#000000',
  },
}
SCSS
$custom: #284091;
$custom-light: #7074b2;
$custom-dark: #000000;
JSON
{
  "hex": "#284091",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 226.286,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40236,
    "c": 0.13694,
    "h": 267.4
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#284091
secondary
#B9A45C
accent
#BD48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #284091

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

Preview Lab → · Contrast checker → · Palette generator →

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