#231E89#231E89

#231E89 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.168 H 274.2°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#231E89
RGBrgb(35, 30, 137)
HSLhsl(243, 64%, 33%)
HSVhsv(243, 78%, 54%)
CMYKcmyk(74.5%, 78.1%, 0%, 46.3%)
CIE-LABlab(20.41, 38.46, -57.98)
CIE-LCHlch(20.41, 69.57, 303.56°)
OKLaboklab(33.05% 0.0122 -0.1677)
OKLCHoklch(33.05% 0.168 274.2)
XYZxyz(5.6713, 3.0914, 23.9599)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E89 #84891E
analogous
#1E4E89 #231E89 #591E89
triadic
#231E89 #89231E #1E8923
tetradic
#231E89 #891E4E #84891E #1E8959
square
#231E89 #891E4E #84891E #1E8959
split-complementary
#231E89 #89591E #4E891E
monochromatic
#090825 #161357 #231E89 #3029BB #514AD7

Accessibility & contrast

On white

12.98
#231E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#231E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E89
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E89#FFFFFF#000000##FFFFFF
##231E891.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231e89;
/* rgb */ color: rgb(35, 30, 137);
/* oklch */ color: oklch(33.0% 0.168 274.2);
Tailwind
colors: {
  custom: {
    50: '#705cad',
    500: '#231e89',
    950: '#000000',
  },
}
SCSS
$custom: #231e89;
$custom-light: #705cad;
$custom-dark: #000000;
JSON
{
  "hex": "#231e89",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 242.804,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33047,
    "c": 0.16814,
    "h": 274.2
  },
  "luminance": 0.03092
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231E89

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

Preview Lab → · Contrast checker → · Palette generator →

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