#231AA1#231AA1

#231AA1 is a dark, highly saturated blue. Relative luminance 0.037; OKLCH L 35.4% C 0.201 H 272.2°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#231AA1
RGBrgb(35, 26, 161)
HSLhsl(244, 72%, 37%)
HSVhsv(244, 84%, 63%)
CMYKcmyk(78.3%, 83.9%, 0%, 36.9%)
CIE-LABlab(22.54, 48.26, -69.26)
CIE-LCHlch(22.54, 84.42, 304.87°)
OKLaboklab(35.36% 0.0078 -0.2004)
OKLCHoklch(35.36% 0.201 272.2)
XYZxyz(7.4934, 3.6685, 34.0245)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231AA1 #98A11A
analogous
#1A55A1 #231AA1 #671AA1
triadic
#231AA1 #A1231A #1AA123
tetradic
#231AA1 #A11A55 #98A11A #1AA167
square
#231AA1 #A11A55 #98A11A #1AA167
split-complementary
#231AA1 #A1671A #55A11A
monochromatic
#0C0938 #18116C #231AA1 #2E23D6 #5C52E3

Accessibility & contrast

On white

12.11
#231AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#231AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231AA1
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231AA1#FFFFFF#000000##FFFFFF
##231AA11.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231aa1;
/* rgb */ color: rgb(35, 26, 161);
/* oklch */ color: oklch(35.4% 0.201 272.2);
Tailwind
colors: {
  custom: {
    50: '#765bbe',
    500: '#231aa1',
    950: '#000000',
  },
}
SCSS
$custom: #231aa1;
$custom-light: #765bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#231aa1",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 244,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35363,
    "c": 0.20054,
    "h": 272.2
  },
  "luminance": 0.03669
}

Semantic roles & 50–950 ramp

primary
#231AA1
secondary
#BEC651
accent
#EF39E3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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