#283291#283291

#283291 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.155 H 271.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#283291
RGBrgb(40, 50, 145)
HSLhsl(234, 57%, 36%)
HSVhsv(234, 72%, 57%)
CMYKcmyk(72.4%, 65.5%, 0%, 43.1%)
CIE-LABlab(26.09, 29.41, -53.60)
CIE-LCHlch(26.09, 61.14, 298.76°)
OKLaboklab(37.46% 0.005 -0.1548)
OKLCHoklch(37.46% 0.155 271.8)
XYZxyz(7.1248, 4.7759, 27.3289)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283291 #918728
analogous
#286791 #283291 #532891
triadic
#283291 #912832 #329128
tetradic
#283291 #912867 #918728 #289153
square
#283291 #912867 #918728 #289153
split-complementary
#283291 #915328 #679128
monochromatic
#0E1131 #1B2161 #283291 #3543C1 #606BD3

Accessibility & contrast

On white

10.74
#283291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#283291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283291
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283291#FFFFFF#000000##FFFFFF
##2832911.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283291;
/* rgb */ color: rgb(40, 50, 145);
/* oklch */ color: oklch(37.5% 0.155 271.8);
Tailwind
colors: {
  custom: {
    50: '#716ab2',
    500: '#283291',
    950: '#000000',
  },
}
SCSS
$custom: #283291;
$custom-light: #716ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#283291",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 234.286,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37463,
    "c": 0.15489,
    "h": 271.8
  },
  "luminance": 0.04777
}

Semantic roles & 50–950 ramp

primary
#283291
secondary
#B9B05C
accent
#D248E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283291

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

Preview Lab → · Contrast checker → · Palette generator →

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