#231BB1#231BB1

#231BB1 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.4% C 0.218 H 270.9°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#231BB1
RGBrgb(35, 27, 177)
HSLhsl(243, 74%, 40%)
HSVhsv(243, 85%, 69%)
CMYKcmyk(80.2%, 84.7%, 0%, 30.6%)
CIE-LABlab(24.68, 52.68, -75.38)
CIE-LCHlch(24.68, 91.96, 304.95°)
OKLaboklab(37.41% 0.0036 -0.2181)
OKLCHoklch(37.41% 0.218 270.9)
XYZxyz(9.0182, 4.3145, 41.9439)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231BB1 #A9B11B
analogous
#1B5EB1 #231BB1 #6E1BB1
triadic
#231BB1 #B1231B #1BB123
tetradic
#231BB1 #B11B5E #A9B11B #1BB16E
square
#231BB1 #B11B5E #A9B11B #1BB16E
split-complementary
#231BB1 #B16E1B #5EB11B
monochromatic
#0E0B47 #19137C #231BB1 #342BDF #6760E7

Accessibility & contrast

On white

11.27
#231BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#231BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231BB1
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231BB1#FFFFFF#000000##FFFFFF
##231BB11.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B5
Deuteranopia (green-blind)
#0033AF
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #231bb1;
/* rgb */ color: rgb(35, 27, 177);
/* oklch */ color: oklch(37.4% 0.218 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a5dca',
    500: '#231bb1',
    950: '#000000',
  },
}
SCSS
$custom: #231bb1;
$custom-light: #7a5dca;
$custom-dark: #000000;
JSON
{
  "hex": "#231bb1",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 177
  },
  "hsl": {
    "h": 243.2,
    "s": 73.529,
    "l": 40
  },
  "oklch": {
    "l": 0.37407,
    "c": 0.21812,
    "h": 270.9
  },
  "luminance": 0.04316
}

Semantic roles & 50–950 ramp

primary
#231BB1
secondary
#C5CB5D
accent
#F038E6
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #231BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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