#231EA9#231EA9

#231EA9 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.8% C 0.207 H 271.3°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#231EA9
RGBrgb(35, 30, 169)
HSLhsl(242, 70%, 39%)
HSVhsv(242, 82%, 66%)
CMYKcmyk(79.3%, 82.2%, 0%, 33.7%)
CIE-LABlab(24.16, 48.87, -71.44)
CIE-LCHlch(24.16, 86.55, 304.38°)
OKLaboklab(36.76% 0.0048 -0.2067)
OKLCHoklch(36.76% 0.207 271.3)
XYZxyz(8.3164, 4.1495, 37.8911)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231EA9 #A4A91E
analogous
#1E5FA9 #231EA9 #691EA9
triadic
#231EA9 #A9231E #1EA923
tetradic
#231EA9 #A91E5F #A4A91E #1EA969
square
#231EA9 #A91E5F #A4A91E #1EA969
split-complementary
#231EA9 #A9691E #5FA91E
monochromatic
#0D0C41 #181575 #231EA9 #312BD9 #645FE3

Accessibility & contrast

On white

11.48
#231EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#231EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231EA9
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231EA9#FFFFFF#000000##FFFFFF
##231EA91.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AD
Deuteranopia (green-blind)
#0032A7
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #231ea9;
/* rgb */ color: rgb(35, 30, 169);
/* oklch */ color: oklch(36.8% 0.207 271.3);
Tailwind
colors: {
  custom: {
    50: '#785ec4',
    500: '#231ea9',
    950: '#000000',
  },
}
SCSS
$custom: #231ea9;
$custom-light: #785ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#231ea9",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 242.158,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36762,
    "c": 0.20681,
    "h": 271.3
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#231EA9
secondary
#C3C75C
accent
#ED3BE6
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #231EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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