#231EAA#231EAA

#231EAA is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.9% C 0.208 H 271.3°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#231EAA
RGBrgb(35, 30, 170)
HSLhsl(242, 70%, 39%)
HSVhsv(242, 82%, 67%)
CMYKcmyk(79.4%, 82.4%, 0%, 33.3%)
CIE-LABlab(24.28, 49.19, -71.84)
CIE-LCHlch(24.28, 87.06, 304.40°)
OKLaboklab(36.88% 0.0046 -0.2079)
OKLCHoklch(36.88% 0.208 271.3)
XYZxyz(8.4107, 4.1872, 38.3874)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231EAA #A5AA1E
analogous
#1E5FAA #231EAA #691EAA
triadic
#231EAA #AA231E #1EAA23
tetradic
#231EAA #AA1E5F #A5AA1E #1EAA69
square
#231EAA #AA1E5F #A5AA1E #1EAA69
split-complementary
#231EAA #AA691E #5FAA1E
monochromatic
#0E0C42 #181576 #231EAA #322CDA #6460E3

Accessibility & contrast

On white

11.43
#231EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#231EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231EAA
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231EAA#FFFFFF#000000##FFFFFF
##231EAA1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AE
Deuteranopia (green-blind)
#0033A8
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #231eaa;
/* rgb */ color: rgb(35, 30, 170);
/* oklch */ color: oklch(36.9% 0.208 271.3);
Tailwind
colors: {
  custom: {
    50: '#785ec5',
    500: '#231eaa',
    950: '#000000',
  },
}
SCSS
$custom: #231eaa;
$custom-light: #785ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#231eaa",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 170
  },
  "hsl": {
    "h": 242.143,
    "s": 70,
    "l": 39.216
  },
  "oklch": {
    "l": 0.36881,
    "c": 0.20796,
    "h": 271.3
  },
  "luminance": 0.04188
}

Semantic roles & 50–950 ramp

primary
#231EAA
secondary
#C4C75C
accent
#ED3BE6
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #231EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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