#231DA8#231DA8

#231DA8 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.5% C 0.206 H 271.5°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#231DA8
RGBrgb(35, 29, 168)
HSLhsl(243, 71%, 39%)
HSVhsv(243, 83%, 66%)
CMYKcmyk(79.2%, 82.7%, 0%, 34.1%)
CIE-LABlab(23.88, 49.03, -71.30)
CIE-LCHlch(23.88, 86.54, 304.52°)
OKLaboklab(36.53% 0.0053 -0.2063)
OKLCHoklch(36.53% 0.206 271.5)
XYZxyz(8.1980, 4.0623, 37.3902)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231DA8 #A2A81D
analogous
#1D5CA8 #231DA8 #681DA8
triadic
#231DA8 #A8231D #1DA823
tetradic
#231DA8 #A81D5C #A2A81D #1DA868
square
#231DA8 #A81D5C #A2A81D #1DA868
split-complementary
#231DA8 #A8681D #5CA81D
monochromatic
#0D0B40 #181474 #231DA8 #3028DA #625CE3

Accessibility & contrast

On white

11.59
#231DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#231DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231DA8
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231DA8#FFFFFF#000000##FFFFFF
##231DA81.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAC
Deuteranopia (green-blind)
#0032A6
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #231da8;
/* rgb */ color: rgb(35, 29, 168);
/* oklch */ color: oklch(36.5% 0.206 271.5);
Tailwind
colors: {
  custom: {
    50: '#775dc3',
    500: '#231da8',
    950: '#000000',
  },
}
SCSS
$custom: #231da8;
$custom-light: #775dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#231da8",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 168
  },
  "hsl": {
    "h": 242.59,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36531,
    "c": 0.20641,
    "h": 271.5
  },
  "luminance": 0.04063
}

Semantic roles & 50–950 ramp

primary
#231DA8
secondary
#C2C75A
accent
#ED3AE6
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #231DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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