#284391#284391

#284391 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.133 H 266.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#284391
RGBrgb(40, 67, 145)
HSLhsl(225, 57%, 36%)
HSVhsv(225, 72%, 57%)
CMYKcmyk(72.4%, 53.8%, 0%, 43.1%)
CIE-LABlab(30.66, 17.92, -46.15)
CIE-LCHlch(30.66, 49.51, 291.22°)
OKLaboklab(40.87% -0.0088 -0.1327)
OKLCHoklch(40.87% 0.133 266.2)
XYZxyz(7.9913, 6.5089, 27.6178)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284391 #917628
analogous
#287891 #284391 #422891
triadic
#284391 #912843 #439128
tetradic
#284391 #912878 #917628 #289142
square
#284391 #912878 #917628 #289142
split-complementary
#284391 #914228 #789128
monochromatic
#0E1731 #1B2D61 #284391 #3559C1 #607ED3

Accessibility & contrast

On white

9.12
#284391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#284391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284391
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284391#FFFFFF#000000##FFFFFF
##2843911.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4D94
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #284391;
/* rgb */ color: rgb(40, 67, 145);
/* oklch */ color: oklch(40.9% 0.133 266.2);
Tailwind
colors: {
  custom: {
    50: '#7076b2',
    500: '#284391',
    950: '#000000',
  },
}
SCSS
$custom: #284391;
$custom-light: #7076b2;
$custom-dark: #000000;
JSON
{
  "hex": "#284391",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 145
  },
  "hsl": {
    "h": 224.571,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40874,
    "c": 0.13301,
    "h": 266.2
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#284391
secondary
#B9A15C
accent
#B948E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #284391

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

Preview Lab → · Contrast checker → · Palette generator →

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