#231E9F#231E9F

#231E9F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.195 H 272.1°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#231E9F
RGBrgb(35, 30, 159)
HSLhsl(242, 68%, 37%)
HSVhsv(242, 81%, 62%)
CMYKcmyk(78%, 81.1%, 0%, 37.6%)
CIE-LABlab(22.96, 45.70, -67.36)
CIE-LCHlch(22.96, 81.40, 304.16°)
OKLaboklab(35.58% 0.0072 -0.1949)
OKLCHoklch(35.58% 0.195 272.1)
XYZxyz(7.4133, 3.7883, 33.1347)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E9F #9A9F1E
analogous
#1E599F #231E9F #641E9F
triadic
#231E9F #9F231E #1E9F23
tetradic
#231E9F #9F1E59 #9A9F1E #1E9F64
square
#231E9F #9F1E59 #9A9F1E #1E9F64
split-complementary
#231E9F #9F641E #599F1E
monochromatic
#0C0B38 #18146C #231E9F #2E28D2 #5D58DF

Accessibility & contrast

On white

11.95
#231E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#231E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E9F
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E9F#FFFFFF#000000##FFFFFF
##231E9F1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231e9f;
/* rgb */ color: rgb(35, 30, 159);
/* oklch */ color: oklch(35.6% 0.195 272.1);
Tailwind
colors: {
  custom: {
    50: '#755dbd',
    500: '#231e9f',
    950: '#000000',
  },
}
SCSS
$custom: #231e9f;
$custom-light: #755dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#231e9f",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 242.326,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35581,
    "c": 0.19506,
    "h": 272.1
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#231E9F
secondary
#BFC356
accent
#EB3DE4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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