#231F86#231F86

#231F86 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.163 H 274.3°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#231F86
RGBrgb(35, 31, 134)
HSLhsl(242, 62%, 32%)
HSVhsv(242, 77%, 53%)
CMYKcmyk(73.9%, 76.9%, 0%, 47.5%)
CIE-LABlab(20.27, 36.86, -56.31)
CIE-LCHlch(20.27, 67.30, 303.21°)
OKLaboklab(32.86% 0.0124 -0.1629)
OKLCHoklch(32.86% 0.163 274.3)
XYZxyz(5.4848, 3.0580, 22.8508)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231F86 #82861F
analogous
#1F4F86 #231F86 #561F86
triadic
#231F86 #86231F #1F8623
tetradic
#231F86 #861F4F #82861F #1F8656
square
#231F86 #861F4F #82861F #1F8656
split-complementary
#231F86 #86561F #4F861F
monochromatic
#090823 #161454 #231F86 #302AB8 #504AD5

Accessibility & contrast

On white

13.03
#231F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#231F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231F86
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231F86#FFFFFF#000000##FFFFFF
##231F861.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231f86;
/* rgb */ color: rgb(35, 31, 134);
/* oklch */ color: oklch(32.9% 0.163 274.3);
Tailwind
colors: {
  custom: {
    50: '#6f5caa',
    500: '#231f86',
    950: '#000000',
  },
}
SCSS
$custom: #231f86;
$custom-light: #6f5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#231f86",
  "rgb": {
    "r": 35,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 242.33,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32855,
    "c": 0.16334,
    "h": 274.3
  },
  "luminance": 0.03059
}

Semantic roles & 50–950 ramp

primary
#231F86
secondary
#B3B849
accent
#E542DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #231F86

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

Preview Lab → · Contrast checker → · Palette generator →

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