#231CB4#231CB4

#231CB4 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.9% C 0.221 H 270.7°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#231CB4
RGBrgb(35, 28, 180)
HSLhsl(243, 73%, 41%)
HSVhsv(243, 84%, 71%)
CMYKcmyk(80.6%, 84.4%, 0%, 29.4%)
CIE-LABlab(25.20, 53.16, -76.31)
CIE-LCHlch(25.20, 93.00, 304.86°)
OKLaboklab(37.87% 0.0027 -0.2208)
OKLCHoklch(37.87% 0.221 270.7)
XYZxyz(9.3438, 4.4820, 43.5438)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231CB4 #ADB41C
analogous
#1C61B4 #231CB4 #6F1CB4
triadic
#231CB4 #B4231C #1CB423
tetradic
#231CB4 #B41C61 #ADB41C #1CB46F
square
#231CB4 #B41C61 #ADB41C #1CB46F
split-complementary
#231CB4 #B46F1C #61B41C
monochromatic
#0E0C4A #19147F #231CB4 #372FDF #6A64E7

Accessibility & contrast

On white

11.07
#231CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#231CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231CB4
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231CB4#FFFFFF#000000##FFFFFF
##231CB41.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0034B2
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #231cb4;
/* rgb */ color: rgb(35, 28, 180);
/* oklch */ color: oklch(37.9% 0.221 270.7);
Tailwind
colors: {
  custom: {
    50: '#7b5ecc',
    500: '#231cb4',
    950: '#000000',
  },
}
SCSS
$custom: #231cb4;
$custom-light: #7b5ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#231cb4",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 242.763,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.37872,
    "c": 0.22082,
    "h": 270.7
  },
  "luminance": 0.04483
}

Semantic roles & 50–950 ramp

primary
#231CB4
secondary
#C7CC60
accent
#F038E7
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #231CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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