#231BA1#231BA1

#231BA1 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.200 H 272.2°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#231BA1
RGBrgb(35, 27, 161)
HSLhsl(244, 71%, 37%)
HSVhsv(244, 83%, 63%)
CMYKcmyk(78.3%, 83.2%, 0%, 36.9%)
CIE-LABlab(22.70, 47.80, -69.00)
CIE-LCHlch(22.70, 83.94, 304.71°)
OKLaboklab(35.47% 0.0075 -0.1996)
OKLCHoklch(35.47% 0.2 272.2)
XYZxyz(7.5159, 3.7136, 34.0320)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231BA1 #99A11B
analogous
#1B56A1 #231BA1 #661BA1
triadic
#231BA1 #A1231B #1BA123
tetradic
#231BA1 #A11B56 #99A11B #1BA166
square
#231BA1 #A11B56 #99A11B #1BA166
split-complementary
#231BA1 #A1661B #56A11B
monochromatic
#0C0938 #18126D #231BA1 #2E24D5 #5D54E2

Accessibility & contrast

On white

12.05
#231BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#231BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231BA1
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231BA1#FFFFFF#000000##FFFFFF
##231BA11.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#002F9F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #231ba1;
/* rgb */ color: rgb(35, 27, 161);
/* oklch */ color: oklch(35.5% 0.200 272.2);
Tailwind
colors: {
  custom: {
    50: '#765cbe',
    500: '#231ba1',
    950: '#000000',
  },
}
SCSS
$custom: #231ba1;
$custom-light: #765cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#231ba1",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 243.582,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35472,
    "c": 0.19979,
    "h": 272.2
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#231BA1
secondary
#BEC552
accent
#EE3AE3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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