#231FA0#231FA0

#231FA0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.195 H 271.9°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#231FA0
RGBrgb(35, 31, 160)
HSLhsl(242, 68%, 37%)
HSVhsv(242, 81%, 63%)
CMYKcmyk(78.1%, 80.6%, 0%, 37.3%)
CIE-LABlab(23.25, 45.52, -67.48)
CIE-LCHlch(23.25, 81.40, 304.00°)
OKLaboklab(35.82% 0.0066 -0.1953)
OKLCHoklch(35.82% 0.195 271.9)
XYZxyz(7.5262, 3.8745, 33.6021)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231FA0 #9CA01F
analogous
#1F5CA0 #231FA0 #631FA0
triadic
#231FA0 #A0231F #1FA023
tetradic
#231FA0 #A01F5C #9CA01F #1FA063
square
#231FA0 #A01F5C #9CA01F #1FA063
split-complementary
#231FA0 #A0631F #5CA01F
monochromatic
#0D0B39 #18156D #231FA0 #2E29D3 #5E5ADF

Accessibility & contrast

On white

11.83
#231FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#231FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231FA0
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231FA0#FFFFFF#000000##FFFFFF
##231FA01.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #231fa0;
/* rgb */ color: rgb(35, 31, 160);
/* oklch */ color: oklch(35.8% 0.195 271.9);
Tailwind
colors: {
  custom: {
    50: '#755ebd',
    500: '#231fa0',
    950: '#000000',
  },
}
SCSS
$custom: #231fa0;
$custom-light: #755ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#231fa0",
  "rgb": {
    "r": 35,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 241.86,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3582,
    "c": 0.19541,
    "h": 271.9
  },
  "luminance": 0.03875
}

Semantic roles & 50–950 ramp

primary
#231FA0
secondary
#C0C358
accent
#EA3DE5
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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