#231CB3#231CB3

#231CB3 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.8% C 0.220 H 270.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#231CB3
RGBrgb(35, 28, 179)
HSLhsl(243, 73%, 41%)
HSVhsv(243, 84%, 70%)
CMYKcmyk(80.4%, 84.4%, 0%, 29.8%)
CIE-LABlab(25.08, 52.85, -75.92)
CIE-LCHlch(25.08, 92.50, 304.85°)
OKLaboklab(37.75% 0.0029 -0.2197)
OKLCHoklch(37.75% 0.22 270.8)
XYZxyz(9.2423, 4.4414, 43.0093)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231CB3 #ACB31C
analogous
#1C61B3 #231CB3 #6E1CB3
triadic
#231CB3 #B3231C #1CB323
tetradic
#231CB3 #B31C61 #ACB31C #1CB36E
square
#231CB3 #B31C61 #ACB31C #1CB36E
split-complementary
#231CB3 #B36E1C #61B31C
monochromatic
#0E0B49 #19147E #231CB3 #362EDE #6963E7

Accessibility & contrast

On white

11.12
#231CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231CB3
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231CB3#FFFFFF#000000##FFFFFF
##231CB31.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #231cb3;
/* rgb */ color: rgb(35, 28, 179);
/* oklch */ color: oklch(37.8% 0.220 270.8);
Tailwind
colors: {
  custom: {
    50: '#7a5ecb',
    500: '#231cb3',
    950: '#000000',
  },
}
SCSS
$custom: #231cb3;
$custom-light: #7a5ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#231cb3",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 242.781,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.3775,
    "c": 0.2197,
    "h": 270.8
  },
  "luminance": 0.04443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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