#231EB1#231EB1

#231EB1 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.7% C 0.216 H 270.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#231EB1
RGBrgb(35, 30, 177)
HSLhsl(242, 71%, 41%)
HSVhsv(242, 83%, 69%)
CMYKcmyk(80.2%, 83.1%, 0%, 30.6%)
CIE-LABlab(25.13, 51.35, -74.63)
CIE-LCHlch(25.13, 90.59, 304.53°)
OKLaboklab(37.72% 0.003 -0.216)
OKLCHoklch(37.72% 0.216 270.8)
XYZxyz(9.0905, 4.4592, 41.9680)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231EB1 #ACB11E
analogous
#1E62B1 #231EB1 #6C1EB1
triadic
#231EB1 #B1231E #1EB123
tetradic
#231EB1 #B11E62 #ACB11E #1EB16C
square
#231EB1 #B11E62 #ACB11E #1EB16C
split-complementary
#231EB1 #B16C1E #62B11E
monochromatic
#0E0C48 #19157D #231EB1 #3630DC #6965E5

Accessibility & contrast

On white

11.10
#231EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#231EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231EB1
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231EB1#FFFFFF#000000##FFFFFF
##231EB11.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B5
Deuteranopia (green-blind)
#0034AF
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #231eb1;
/* rgb */ color: rgb(35, 30, 177);
/* oklch */ color: oklch(37.7% 0.216 270.8);
Tailwind
colors: {
  custom: {
    50: '#7a5fca',
    500: '#231eb1',
    950: '#000000',
  },
}
SCSS
$custom: #231eb1;
$custom-light: #7a5fca;
$custom-dark: #000000;
JSON
{
  "hex": "#231eb1",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 177
  },
  "hsl": {
    "h": 242.041,
    "s": 71.014,
    "l": 40.588
  },
  "oklch": {
    "l": 0.37717,
    "c": 0.21601,
    "h": 270.8
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

primary
#231EB1
secondary
#C6CA61
accent
#EE3AE8
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #231EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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