#231E8B#231E8B

#231E8B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.171 H 273.9°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#231E8B
RGBrgb(35, 30, 139)
HSLhsl(243, 64%, 33%)
HSVhsv(243, 78%, 55%)
CMYKcmyk(74.8%, 78.4%, 0%, 45.5%)
CIE-LABlab(20.63, 39.13, -58.85)
CIE-LCHlch(20.63, 70.68, 303.62°)
OKLaboklab(33.27% 0.0118 -0.1703)
OKLCHoklch(33.27% 0.171 273.9)
XYZxyz(5.8161, 3.1494, 24.7225)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E8B #868B1E
analogous
#1E4F8B #231E8B #591E8B
triadic
#231E8B #8B231E #1E8B23
tetradic
#231E8B #8B1E4F #868B1E #1E8B59
square
#231E8B #8B1E4F #868B1E #1E8B59
split-complementary
#231E8B #8B591E #4F8B1E
monochromatic
#0A0826 #161359 #231E8B #3029BD #524BD8

Accessibility & contrast

On white

12.88
#231E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#231E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E8B
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E8B#FFFFFF#000000##FFFFFF
##231E8B1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378E
Deuteranopia (green-blind)
#002C89
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #231e8b;
/* rgb */ color: rgb(35, 30, 139);
/* oklch */ color: oklch(33.3% 0.171 273.9);
Tailwind
colors: {
  custom: {
    50: '#705cae',
    500: '#231e8b',
    950: '#000000',
  },
}
SCSS
$custom: #231e8b;
$custom-light: #705cae;
$custom-dark: #000000;
JSON
{
  "hex": "#231e8b",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 242.752,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33273,
    "c": 0.17065,
    "h": 273.9
  },
  "luminance": 0.0315
}

Semantic roles & 50–950 ramp

primary
#231E8B
secondary
#B5BB4A
accent
#E740E0
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #231E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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