#231AA3#231AA3

#231AA3 is a dark, highly saturated blue. Relative luminance 0.037; OKLCH L 35.6% C 0.203 H 272.1°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#231AA3
RGBrgb(35, 26, 163)
HSLhsl(244, 72%, 37%)
HSVhsv(244, 84%, 64%)
CMYKcmyk(78.5%, 84%, 0%, 36.1%)
CIE-LABlab(22.79, 48.88, -70.07)
CIE-LCHlch(22.79, 85.43, 304.90°)
OKLaboklab(35.6% 0.0073 -0.2027)
OKLCHoklch(35.6% 0.203 272.1)
XYZxyz(7.6712, 3.7396, 34.9608)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231AA3 #9AA31A
analogous
#1A55A3 #231AA3 #681AA3
triadic
#231AA3 #A3231A #1AA323
tetradic
#231AA3 #A31A55 #9AA31A #1AA368
square
#231AA3 #A31A55 #9AA31A #1AA368
split-complementary
#231AA3 #A3681A #55A31A
monochromatic
#0C0939 #18126E #231AA3 #2E22D8 #5D54E4

Accessibility & contrast

On white

12.01
#231AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#231AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231AA3
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231AA3#FFFFFF#000000##FFFFFF
##231AA31.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA7
Deuteranopia (green-blind)
#0030A1
Tritanopia (blue-blind)
#004761
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #231aa3;
/* rgb */ color: rgb(35, 26, 163);
/* oklch */ color: oklch(35.6% 0.203 272.1);
Tailwind
colors: {
  custom: {
    50: '#765bc0',
    500: '#231aa3',
    950: '#000000',
  },
}
SCSS
$custom: #231aa3;
$custom-light: #765bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#231aa3",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 163
  },
  "hsl": {
    "h": 243.942,
    "s": 72.487,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35605,
    "c": 0.20285,
    "h": 272.1
  },
  "luminance": 0.0374
}

Semantic roles & 50–950 ramp

primary
#231AA3
secondary
#BFC752
accent
#EF39E3
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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