#231E80#231E80

#231E80 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.157 H 275.2°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#231E80
RGBrgb(35, 30, 128)
HSLhsl(243, 62%, 31%)
HSVhsv(243, 77%, 50%)
CMYKcmyk(72.7%, 76.6%, 0%, 49.8%)
CIE-LABlab(19.41, 35.38, -53.95)
CIE-LCHlch(19.41, 64.52, 303.25°)
OKLaboklab(32.04% 0.0142 -0.156)
OKLCHoklch(32.04% 0.157 275.2)
XYZxyz(5.0524, 2.8439, 20.7006)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E80 #7B801E
analogous
#1E4A80 #231E80 #541E80
triadic
#231E80 #80231E #1E8023
tetradic
#231E80 #801E4A #7B801E #1E8054
square
#231E80 #801E4A #7B801E #1E8054
split-complementary
#231E80 #80541E #4A801E
monochromatic
#08071D #15124E #231E80 #312AB2 #4C45D3

Accessibility & contrast

On white

13.39
#231E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#231E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E80
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E80#FFFFFF#000000##FFFFFF
##231E801.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231e80;
/* rgb */ color: rgb(35, 30, 128);
/* oklch */ color: oklch(32.0% 0.157 275.2);
Tailwind
colors: {
  custom: {
    50: '#6d5ba6',
    500: '#231e80',
    950: '#000000',
  },
}
SCSS
$custom: #231e80;
$custom-light: #6d5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#231e80",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 243.061,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32044,
    "c": 0.15664,
    "h": 275.2
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#231E80
secondary
#AEB347
accent
#E543DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #231E80

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

Preview Lab → · Contrast checker → · Palette generator →

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