#231E8C#231E8C

#231E8C is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.172 H 273.8°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#231E8C
RGBrgb(35, 30, 140)
HSLhsl(243, 65%, 33%)
HSVhsv(243, 79%, 55%)
CMYKcmyk(75%, 78.6%, 0%, 45.1%)
CIE-LABlab(20.75, 39.47, -59.29)
CIE-LCHlch(20.75, 71.23, 303.65°)
OKLaboklab(33.39% 0.0115 -0.1715)
OKLCHoklch(33.39% 0.172 273.8)
XYZxyz(5.8895, 3.1787, 25.1090)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E8C #878C1E
analogous
#1E508C #231E8C #5A1E8C
triadic
#231E8C #8C231E #1E8C23
tetradic
#231E8C #8C1E50 #878C1E #1E8C5A
square
#231E8C #8C1E50 #878C1E #1E8C5A
split-complementary
#231E8C #8C5A1E #508C1E
monochromatic
#0A0827 #16135A #231E8C #3029BE #524CD9

Accessibility & contrast

On white

12.84
#231E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#231E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E8C
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E8C#FFFFFF#000000##FFFFFF
##231E8C1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378F
Deuteranopia (green-blind)
#002D8A
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #231e8c;
/* rgb */ color: rgb(35, 30, 140);
/* oklch */ color: oklch(33.4% 0.172 273.8);
Tailwind
colors: {
  custom: {
    50: '#705caf',
    500: '#231e8c',
    950: '#000000',
  },
}
SCSS
$custom: #231e8c;
$custom-light: #705caf;
$custom-dark: #000000;
JSON
{
  "hex": "#231e8c",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 140
  },
  "hsl": {
    "h": 242.727,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33386,
    "c": 0.17192,
    "h": 273.8
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#231E8C
secondary
#B6BB4B
accent
#E840E0
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #231E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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