#231EAC#231EAC

#231EAC is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.1% C 0.210 H 271.1°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#231EAC
RGBrgb(35, 30, 172)
HSLhsl(242, 70%, 40%)
HSVhsv(242, 83%, 67%)
CMYKcmyk(79.7%, 82.6%, 0%, 32.5%)
CIE-LABlab(24.52, 49.81, -72.64)
CIE-LCHlch(24.52, 88.08, 304.44°)
OKLaboklab(37.12% 0.0041 -0.2102)
OKLCHoklch(37.12% 0.21 271.1)
XYZxyz(8.6013, 4.2635, 39.3913)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231EAC #A7AC1E
analogous
#1E60AC #231EAC #6A1EAC
triadic
#231EAC #AC231E #1EAC23
tetradic
#231EAC #AC1E60 #A7AC1E #1EAC6A
square
#231EAC #AC1E60 #A7AC1E #1EAC6A
split-complementary
#231EAC #AC6A1E #60AC1E
monochromatic
#0E0C44 #181578 #231EAC #332DDA #6661E3

Accessibility & contrast

On white

11.33
#231EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#231EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231EAC
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231EAC#FFFFFF#000000##FFFFFF
##231EAC1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B0
Deuteranopia (green-blind)
#0033AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #231eac;
/* rgb */ color: rgb(35, 30, 172);
/* oklch */ color: oklch(37.1% 0.210 271.1);
Tailwind
colors: {
  custom: {
    50: '#785ec6',
    500: '#231eac',
    950: '#000000',
  },
}
SCSS
$custom: #231eac;
$custom-light: #785ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#231eac",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 172
  },
  "hsl": {
    "h": 242.113,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3712,
    "c": 0.21028,
    "h": 271.1
  },
  "luminance": 0.04264
}

Semantic roles & 50–950 ramp

primary
#231EAC
secondary
#C4C85E
accent
#ED3BE7
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #231EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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