#231E8E#231E8E

#231E8E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.174 H 273.6°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#231E8E
RGBrgb(35, 30, 142)
HSLhsl(243, 65%, 34%)
HSVhsv(243, 79%, 56%)
CMYKcmyk(75.4%, 78.9%, 0%, 44.3%)
CIE-LABlab(20.97, 40.14, -60.16)
CIE-LCHlch(20.97, 72.32, 303.71°)
OKLaboklab(33.61% 0.0111 -0.174)
OKLCHoklch(33.61% 0.174 273.6)
XYZxyz(6.0383, 3.2382, 25.8928)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E8E #898E1E
analogous
#1E518E #231E8E #5B1E8E
triadic
#231E8E #8E231E #1E8E23
tetradic
#231E8E #8E1E51 #898E1E #1E8E5B
square
#231E8E #8E1E51 #898E1E #1E8E5B
split-complementary
#231E8E #8E5B1E #518E1E
monochromatic
#0A0929 #17135B #231E8E #2F29C1 #534DD9

Accessibility & contrast

On white

12.74
#231E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#231E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E8E
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E8E#FFFFFF#000000##FFFFFF
##231E8E1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#002D8C
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #231e8e;
/* rgb */ color: rgb(35, 30, 142);
/* oklch */ color: oklch(33.6% 0.174 273.6);
Tailwind
colors: {
  custom: {
    50: '#715cb0',
    500: '#231e8e',
    950: '#000000',
  },
}
SCSS
$custom: #231e8e;
$custom-light: #715cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#231e8e",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 242.679,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33613,
    "c": 0.1744,
    "h": 273.6
  },
  "luminance": 0.03239
}

Semantic roles & 50–950 ramp

primary
#231E8E
secondary
#B7BC4C
accent
#E840E1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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