#231E85#231E85

#231E85 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.163 H 274.6°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#231E85
RGBrgb(35, 30, 133)
HSLhsl(243, 63%, 32%)
HSVhsv(243, 77%, 52%)
CMYKcmyk(73.7%, 77.4%, 0%, 47.8%)
CIE-LABlab(19.96, 37.10, -56.20)
CIE-LCHlch(19.96, 67.34, 303.43°)
OKLaboklab(32.6% 0.0131 -0.1625)
OKLCHoklch(32.6% 0.163 274.6)
XYZxyz(5.3896, 2.9788, 22.4767)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E85 #80851E
analogous
#1E4C85 #231E85 #571E85
triadic
#231E85 #85231E #1E8523
tetradic
#231E85 #851E4C #80851E #1E8557
square
#231E85 #851E4C #80851E #1E8557
split-complementary
#231E85 #85571E #4C851E
monochromatic
#090721 #161353 #231E85 #3029B7 #4F48D6

Accessibility & contrast

On white

13.16
#231E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#231E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E85
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E85#FFFFFF#000000##FFFFFF
##231E851.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #231e85;
/* rgb */ color: rgb(35, 30, 133);
/* oklch */ color: oklch(32.6% 0.163 274.6);
Tailwind
colors: {
  custom: {
    50: '#6e5caa',
    500: '#231e85',
    950: '#000000',
  },
}
SCSS
$custom: #231e85;
$custom-light: #6e5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#231e85",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 242.913,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32598,
    "c": 0.16307,
    "h": 274.6
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231E85

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

Preview Lab → · Contrast checker → · Palette generator →

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