#231E90#231E90

#231E90 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.177 H 273.4°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#231E90
RGBrgb(35, 30, 144)
HSLhsl(243, 66%, 34%)
HSVhsv(243, 79%, 56%)
CMYKcmyk(75.7%, 79.2%, 0%, 43.5%)
CIE-LABlab(21.20, 40.80, -61.03)
CIE-LCHlch(21.20, 73.41, 303.77°)
OKLaboklab(33.84% 0.0106 -0.1766)
OKLCHoklch(33.84% 0.177 273.4)
XYZxyz(6.1898, 3.2989, 26.6907)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E90 #8B901E
analogous
#1E5290 #231E90 #5C1E90
triadic
#231E90 #90231E #1E9023
tetradic
#231E90 #901E52 #8B901E #1E905C
square
#231E90 #901E52 #8B901E #1E905C
split-complementary
#231E90 #905C1E #52901E
monochromatic
#0A092B #17135D #231E90 #2F29C3 #544EDA

Accessibility & contrast

On white

12.65
#231E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#231E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E90
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E90#FFFFFF#000000##FFFFFF
##231E901.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002D8E
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #231e90;
/* rgb */ color: rgb(35, 30, 144);
/* oklch */ color: oklch(33.8% 0.177 273.4);
Tailwind
colors: {
  custom: {
    50: '#715cb2',
    500: '#231e90',
    950: '#000000',
  },
}
SCSS
$custom: #231e90;
$custom-light: #715cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#231e90",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 242.632,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.33842,
    "c": 0.17689,
    "h": 273.4
  },
  "luminance": 0.03299
}

Semantic roles & 50–950 ramp

primary
#231E90
secondary
#B8BD4D
accent
#E83FE1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231E90

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

Preview Lab → · Contrast checker → · Palette generator →

#231E90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva