#231E86#231E86

#231E86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.164 H 274.5°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#231E86
RGBrgb(35, 30, 134)
HSLhsl(243, 63%, 32%)
HSVhsv(243, 78%, 53%)
CMYKcmyk(73.9%, 77.6%, 0%, 47.5%)
CIE-LABlab(20.07, 37.44, -56.65)
CIE-LCHlch(20.07, 67.90, 303.46°)
OKLaboklab(32.71% 0.0129 -0.1638)
OKLCHoklch(32.71% 0.164 274.5)
XYZxyz(5.4591, 3.0066, 22.8423)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E86 #81861E
analogous
#1E4D86 #231E86 #571E86
triadic
#231E86 #86231E #1E8623
tetradic
#231E86 #861E4D #81861E #1E8657
square
#231E86 #861E4D #81861E #1E8657
split-complementary
#231E86 #86571E #4D861E
monochromatic
#090822 #161354 #231E86 #3029B8 #4F48D6

Accessibility & contrast

On white

13.11
#231E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#231E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E86
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E86#FFFFFF#000000##FFFFFF
##231E861.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #231e86;
/* rgb */ color: rgb(35, 30, 134);
/* oklch */ color: oklch(32.7% 0.164 274.5);
Tailwind
colors: {
  custom: {
    50: '#6f5caa',
    500: '#231e86',
    950: '#000000',
  },
}
SCSS
$custom: #231e86;
$custom-light: #6f5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#231e86",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 242.885,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3271,
    "c": 0.16434,
    "h": 274.5
  },
  "luminance": 0.03007
}

Semantic roles & 50–950 ramp

primary
#231E86
secondary
#B3B847
accent
#E641DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #231E86

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

Preview Lab → · Contrast checker → · Palette generator →

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