#231D9F#231D9F

#231D9F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.196 H 272.2°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#231D9F
RGBrgb(35, 29, 159)
HSLhsl(243, 69%, 37%)
HSVhsv(243, 82%, 62%)
CMYKcmyk(78%, 81.8%, 0%, 37.6%)
CIE-LABlab(22.79, 46.20, -67.64)
CIE-LCHlch(22.79, 81.91, 304.34°)
OKLaboklab(35.46% 0.0075 -0.1957)
OKLCHoklch(35.46% 0.196 272.2)
XYZxyz(7.3884, 3.7385, 33.1264)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D9F #999F1D
analogous
#1D589F #231D9F #641D9F
triadic
#231D9F #9F231D #1D9F23
tetradic
#231D9F #9F1D58 #999F1D #1D9F64
square
#231D9F #9F1D58 #999F1D #1D9F64
split-complementary
#231D9F #9F641D #589F1D
monochromatic
#0C0A37 #18146B #231D9F #2E26D3 #5D56E0

Accessibility & contrast

On white

12.02
#231D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#231D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D9F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D9F#FFFFFF#000000##FFFFFF
##231D9F1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #231d9f;
/* rgb */ color: rgb(35, 29, 159);
/* oklch */ color: oklch(35.5% 0.196 272.2);
Tailwind
colors: {
  custom: {
    50: '#755dbd',
    500: '#231d9f',
    950: '#000000',
  },
}
SCSS
$custom: #231d9f;
$custom-light: #755dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#231d9f",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 242.769,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35462,
    "c": 0.19588,
    "h": 272.2
  },
  "luminance": 0.03739
}

Semantic roles & 50–950 ramp

primary
#231D9F
secondary
#BEC454
accent
#EC3CE4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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