#231E72#231E72

#231E72 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.138 H 277.0°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#231E72
RGBrgb(35, 30, 114)
HSLhsl(244, 58%, 28%)
HSVhsv(244, 74%, 45%)
CMYKcmyk(69.3%, 73.7%, 0%, 55.3%)
CIE-LABlab(17.92, 30.47, -47.45)
CIE-LCHlch(17.92, 56.39, 302.71°)
OKLaboklab(30.54% 0.0169 -0.137)
OKLCHoklch(30.54% 0.138 277)
XYZxyz(4.1937, 2.5004, 16.1780)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E72 #6D721E
analogous
#1E4372 #231E72 #4D1E72
triadic
#231E72 #72231E #1E7223
tetradic
#231E72 #721E43 #6D721E #1E724D
square
#231E72 #721E43 #6D721E #1E724D
split-complementary
#231E72 #724D1E #43721E
monochromatic
#070618 #141142 #231E72 #322BA2 #473ECC

Accessibility & contrast

On white

14.00
#231E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231E72
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E72#FFFFFF#000000##FFFFFF
##231E721.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002870
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231e72;
/* rgb */ color: rgb(35, 30, 114);
/* oklch */ color: oklch(30.5% 0.138 277.0);
Tailwind
colors: {
  custom: {
    50: '#6a5b9b',
    500: '#231e72',
    950: '#000000',
  },
}
SCSS
$custom: #231e72;
$custom-light: #6a5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#231e72",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 243.571,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30538,
    "c": 0.13804,
    "h": 277
  },
  "luminance": 0.02501
}

Semantic roles & 50–950 ramp

primary
#231E72
secondary
#A0A646
accent
#E246D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231E72

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

Preview Lab → · Contrast checker → · Palette generator →

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