#283191#283191

#283191 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.156 H 272.1°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#283191
RGBrgb(40, 49, 145)
HSLhsl(235, 57%, 36%)
HSVhsv(235, 72%, 57%)
CMYKcmyk(72.4%, 66.2%, 0%, 43.1%)
CIE-LABlab(25.84, 30.07, -54.00)
CIE-LCHlch(25.84, 61.81, 299.11°)
OKLaboklab(37.28% 0.0057 -0.156)
OKLCHoklch(37.28% 0.156 272.1)
XYZxyz(7.0825, 4.6914, 27.3148)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283191 #918828
analogous
#286691 #283191 #542891
triadic
#283191 #912831 #319128
tetradic
#283191 #912866 #918828 #289154
square
#283191 #912866 #918828 #289154
split-complementary
#283191 #915428 #669128
monochromatic
#0E1131 #1B2161 #283191 #3541C1 #606AD3

Accessibility & contrast

On white

10.83
#283191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#283191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283191
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283191#FFFFFF#000000##FFFFFF
##2831911.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283191;
/* rgb */ color: rgb(40, 49, 145);
/* oklch */ color: oklch(37.3% 0.156 272.1);
Tailwind
colors: {
  custom: {
    50: '#7269b2',
    500: '#283191',
    950: '#000000',
  },
}
SCSS
$custom: #283191;
$custom-light: #7269b2;
$custom-dark: #000000;
JSON
{
  "hex": "#283191",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 234.857,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3728,
    "c": 0.15612,
    "h": 272.1
  },
  "luminance": 0.04692
}

Semantic roles & 50–950 ramp

primary
#283191
secondary
#B9B15C
accent
#D348E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283191

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

Preview Lab → · Contrast checker → · Palette generator →

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