#231FA9#231FA9

#231FA9 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.9% C 0.206 H 271.3°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#231FA9
RGBrgb(35, 31, 169)
HSLhsl(242, 69%, 39%)
HSVhsv(242, 82%, 66%)
CMYKcmyk(79.3%, 81.7%, 0%, 33.7%)
CIE-LABlab(24.32, 48.39, -71.16)
CIE-LCHlch(24.32, 86.06, 304.21°)
OKLaboklab(36.88% 0.0046 -0.206)
OKLCHoklch(36.88% 0.206 271.3)
XYZxyz(8.3421, 4.2009, 37.8996)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231FA9 #A5A91F
analogous
#1F60A9 #231FA9 #681FA9
triadic
#231FA9 #A9231F #1FA923
tetradic
#231FA9 #A91F60 #A5A91F #1FA968
square
#231FA9 #A91F60 #A5A91F #1FA968
split-complementary
#231FA9 #A9681F #60A91F
monochromatic
#0E0C42 #181675 #231FA9 #322DD8 #6460E2

Accessibility & contrast

On white

11.41
#231FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#231FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231FA9
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231FA9#FFFFFF#000000##FFFFFF
##231FA91.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AD
Deuteranopia (green-blind)
#0033A7
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #231fa9;
/* rgb */ color: rgb(35, 31, 169);
/* oklch */ color: oklch(36.9% 0.206 271.3);
Tailwind
colors: {
  custom: {
    50: '#785fc4',
    500: '#231fa9',
    950: '#000000',
  },
}
SCSS
$custom: #231fa9;
$custom-light: #785fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#231fa9",
  "rgb": {
    "r": 35,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 241.739,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.36877,
    "c": 0.20602,
    "h": 271.3
  },
  "luminance": 0.04202
}

Semantic roles & 50–950 ramp

primary
#231FA9
secondary
#C4C75D
accent
#EC3CE7
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #231FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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