#231E83#231E83

#231E83 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.161 H 274.8°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#231E83
RGBrgb(35, 30, 131)
HSLhsl(243, 63%, 32%)
HSVhsv(243, 77%, 51%)
CMYKcmyk(73.3%, 77.1%, 0%, 48.6%)
CIE-LABlab(19.74, 36.41, -55.31)
CIE-LCHlch(19.74, 66.22, 303.36°)
OKLaboklab(32.38% 0.0135 -0.1599)
OKLCHoklch(32.38% 0.161 274.8)
XYZxyz(5.2528, 2.9241, 21.7559)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E83 #7E831E
analogous
#1E4C83 #231E83 #561E83
triadic
#231E83 #83231E #1E8323
tetradic
#231E83 #831E4C #7E831E #1E8356
square
#231E83 #831E4C #7E831E #1E8356
split-complementary
#231E83 #83561E #4C831E
monochromatic
#08071F #161351 #231E83 #3029B5 #4E47D5

Accessibility & contrast

On white

13.25
#231E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#231E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E83
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E83#FFFFFF#000000##FFFFFF
##231E831.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002B81
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #231e83;
/* rgb */ color: rgb(35, 30, 131);
/* oklch */ color: oklch(32.4% 0.161 274.8);
Tailwind
colors: {
  custom: {
    50: '#6e5ba8',
    500: '#231e83',
    950: '#000000',
  },
}
SCSS
$custom: #231e83;
$custom-light: #6e5ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#231e83",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 242.97,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32376,
    "c": 0.16051,
    "h": 274.8
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#231E83
secondary
#B0B647
accent
#E642DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #231E83

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

Preview Lab → · Contrast checker → · Palette generator →

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