#231E71#231E71

#231E71 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.137 H 277.2°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#231E71
RGBrgb(35, 30, 113)
HSLhsl(244, 58%, 28%)
HSVhsv(244, 73%, 44%)
CMYKcmyk(69%, 73.5%, 0%, 55.7%)
CIE-LABlab(17.82, 30.12, -46.97)
CIE-LCHlch(17.82, 55.79, 302.67°)
OKLaboklab(30.43% 0.0171 -0.1356)
OKLCHoklch(30.43% 0.137 277.2)
XYZxyz(4.1371, 2.4778, 15.8798)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E71 #6C711E
analogous
#1E4371 #231E71 #4C1E71
triadic
#231E71 #71231E #1E7123
tetradic
#231E71 #711E43 #6C711E #1E714C
square
#231E71 #711E43 #6C711E #1E714C
split-complementary
#231E71 #714C1E #43711E
monochromatic
#070618 #141141 #231E71 #322BA1 #463ECC

Accessibility & contrast

On white

14.04
#231E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#231E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E71
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E71#FFFFFF#000000##FFFFFF
##231E711.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#00286F
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231e71;
/* rgb */ color: rgb(35, 30, 113);
/* oklch */ color: oklch(30.4% 0.137 277.2);
Tailwind
colors: {
  custom: {
    50: '#6a5b9b',
    500: '#231e71',
    950: '#000000',
  },
}
SCSS
$custom: #231e71;
$custom-light: #6a5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#231e71",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 243.614,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30433,
    "c": 0.13668,
    "h": 277.2
  },
  "luminance": 0.02478
}

Semantic roles & 50–950 ramp

primary
#231E71
secondary
#9FA546
accent
#E147D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231E71

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

Preview Lab → · Contrast checker → · Palette generator →

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