#231E7D#231E7D

#231E7D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.153 H 275.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#231E7D
RGBrgb(35, 30, 125)
HSLhsl(243, 61%, 30%)
HSVhsv(243, 76%, 49%)
CMYKcmyk(72%, 76%, 0%, 51%)
CIE-LABlab(19.08, 34.34, -52.59)
CIE-LCHlch(19.08, 62.81, 303.15°)
OKLaboklab(31.72% 0.0148 -0.152)
OKLCHoklch(31.72% 0.153 275.6)
XYZxyz(4.8579, 2.7661, 19.6760)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E7D #787D1E
analogous
#1E487D #231E7D #521E7D
triadic
#231E7D #7D231E #1E7D23
tetradic
#231E7D #7D1E48 #787D1E #1E7D52
square
#231E7D #7D1E48 #787D1E #1E7D52
split-complementary
#231E7D #7D521E #487D1E
monochromatic
#07061A #15124C #231E7D #312AAE #4B43D2

Accessibility & contrast

On white

13.52
#231E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#231E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E7D
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E7D#FFFFFF#000000##FFFFFF
##231E7D1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002A7B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #231e7d;
/* rgb */ color: rgb(35, 30, 125);
/* oklch */ color: oklch(31.7% 0.153 275.6);
Tailwind
colors: {
  custom: {
    50: '#6d5ba4',
    500: '#231e7d',
    950: '#000000',
  },
}
SCSS
$custom: #231e7d;
$custom-light: #6d5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#231e7d",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 243.158,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31716,
    "c": 0.15273,
    "h": 275.6
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#231E7D
secondary
#ABB046
accent
#E443DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #231E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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