#231FAA#231FAA

#231FAA is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.0% C 0.207 H 271.2°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#231FAA
RGBrgb(35, 31, 170)
HSLhsl(242, 69%, 39%)
HSVhsv(242, 82%, 67%)
CMYKcmyk(79.4%, 81.8%, 0%, 33.3%)
CIE-LABlab(24.45, 48.70, -71.57)
CIE-LCHlch(24.45, 86.57, 304.24°)
OKLaboklab(36.99% 0.0044 -0.2071)
OKLCHoklch(36.99% 0.207 271.2)
XYZxyz(8.4364, 4.2386, 38.3959)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231FAA #A6AA1F
analogous
#1F60AA #231FAA #691FAA
triadic
#231FAA #AA231F #1FAA23
tetradic
#231FAA #AA1F60 #A6AA1F #1FAA69
square
#231FAA #AA1F60 #A6AA1F #1FAA69
split-complementary
#231FAA #AA691F #60AA1F
monochromatic
#0E0C42 #181676 #231FAA #322DD9 #6561E2

Accessibility & contrast

On white

11.36
#231FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#231FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231FAA
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231FAA#FFFFFF#000000##FFFFFF
##231FAA1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AE
Deuteranopia (green-blind)
#0033A8
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #231faa;
/* rgb */ color: rgb(35, 31, 170);
/* oklch */ color: oklch(37.0% 0.207 271.2);
Tailwind
colors: {
  custom: {
    50: '#785fc5',
    500: '#231faa',
    950: '#000000',
  },
}
SCSS
$custom: #231faa;
$custom-light: #785fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#231faa",
  "rgb": {
    "r": 35,
    "g": 31,
    "b": 170
  },
  "hsl": {
    "h": 241.727,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.36995,
    "c": 0.20719,
    "h": 271.2
  },
  "luminance": 0.0424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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