#231D7E#231D7E

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

Color values

HEX#231D7E
RGBrgb(35, 29, 126)
HSLhsl(244, 63%, 30%)
HSVhsv(244, 77%, 49%)
CMYKcmyk(72.2%, 77%, 0%, 50.6%)
CIE-LABlab(18.98, 35.28, -53.39)
CIE-LCHlch(18.98, 63.99, 303.46°)
OKLaboklab(31.68% 0.0152 -0.1543)
OKLCHoklch(31.68% 0.155 275.6)
XYZxyz(4.8972, 2.7420, 20.0058)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D7E #787E1D
analogous
#1D487E #231D7E #531D7E
triadic
#231D7E #7E231D #1D7E23
tetradic
#231D7E #7E1D48 #787E1D #1D7E53
square
#231D7E #7E1D48 #787E1D #1D7E53
split-complementary
#231D7E #7E531D #487E1D
monochromatic
#07061B #15124C #231D7E #3128B0 #4B42D3

Accessibility & contrast

On white

13.56
#231D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D7E
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D7E#FFFFFF#000000##FFFFFF
##231D7E1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231d7e;
/* rgb */ color: rgb(35, 29, 126);
/* oklch */ color: oklch(31.7% 0.155 275.6);
Tailwind
colors: {
  custom: {
    50: '#6d5ba4',
    500: '#231d7e',
    950: '#000000',
  },
}
SCSS
$custom: #231d7e;
$custom-light: #6d5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#231d7e",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 243.711,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31676,
    "c": 0.15509,
    "h": 275.6
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#231D7E
secondary
#ABB145
accent
#E642DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #231D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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