#231E88#231E88

#231E88 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.167 H 274.3°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#231E88
RGBrgb(35, 30, 136)
HSLhsl(243, 64%, 33%)
HSVhsv(243, 78%, 53%)
CMYKcmyk(74.3%, 77.9%, 0%, 46.7%)
CIE-LABlab(20.29, 38.12, -57.53)
CIE-LCHlch(20.29, 69.02, 303.53°)
OKLaboklab(32.93% 0.0124 -0.1664)
OKLCHoklch(32.93% 0.167 274.3)
XYZxyz(5.5999, 3.0629, 23.5839)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E88 #83881E
analogous
#1E4E88 #231E88 #581E88
triadic
#231E88 #88231E #1E8823
tetradic
#231E88 #881E4E #83881E #1E8858
square
#231E88 #881E4E #83881E #1E8858
split-complementary
#231E88 #88581E #4E881E
monochromatic
#090824 #161356 #231E88 #3029BA #5049D7

Accessibility & contrast

On white

13.02
#231E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#231E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E88
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E88#FFFFFF#000000##FFFFFF
##231E881.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002C86
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231e88;
/* rgb */ color: rgb(35, 30, 136);
/* oklch */ color: oklch(32.9% 0.167 274.3);
Tailwind
colors: {
  custom: {
    50: '#6f5cac',
    500: '#231e88',
    950: '#000000',
  },
}
SCSS
$custom: #231e88;
$custom-light: #6f5cac;
$custom-dark: #000000;
JSON
{
  "hex": "#231e88",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 242.83,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32934,
    "c": 0.16688,
    "h": 274.3
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#231E88
secondary
#B4B949
accent
#E741DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #231E88

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

Preview Lab → · Contrast checker → · Palette generator →

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