#231EA6#231EA6

#231EA6 is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.4% C 0.203 H 271.6°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#231EA6
RGBrgb(35, 30, 166)
HSLhsl(242, 69%, 38%)
HSVhsv(242, 82%, 65%)
CMYKcmyk(78.9%, 81.9%, 0%, 34.9%)
CIE-LABlab(23.80, 47.93, -70.22)
CIE-LCHlch(23.80, 85.02, 304.31°)
OKLaboklab(36.41% 0.0055 -0.2032)
OKLCHoklch(36.41% 0.203 271.6)
XYZxyz(8.0380, 4.0382, 36.4248)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231EA6 #A1A61E
analogous
#1E5DA6 #231EA6 #671EA6
triadic
#231EA6 #A6231E #1EA623
tetradic
#231EA6 #A61E5D #A1A61E #1EA667
square
#231EA6 #A61E5D #A1A61E #1EA667
split-complementary
#231EA6 #A6671E #5DA61E
monochromatic
#0D0B3E #181572 #231EA6 #2F29D8 #625DE2

Accessibility & contrast

On white

11.62
#231EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#231EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231EA6
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231EA6#FFFFFF#000000##FFFFFF
##231EA61.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAA
Deuteranopia (green-blind)
#0032A4
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #231ea6;
/* rgb */ color: rgb(35, 30, 166);
/* oklch */ color: oklch(36.4% 0.203 271.6);
Tailwind
colors: {
  custom: {
    50: '#775ec2',
    500: '#231ea6',
    950: '#000000',
  },
}
SCSS
$custom: #231ea6;
$custom-light: #775ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#231ea6",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 242.206,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36406,
    "c": 0.20331,
    "h": 271.6
  },
  "luminance": 0.04039
}

Semantic roles & 50–950 ramp

primary
#231EA6
secondary
#C2C65A
accent
#EC3CE6
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0A0413
muted
#7C7982

Preview Lab

Preview with #231EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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