#231DA6#231DA6

#231DA6 is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.3% C 0.204 H 271.6°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#231DA6
RGBrgb(35, 29, 166)
HSLhsl(243, 70%, 38%)
HSVhsv(243, 83%, 65%)
CMYKcmyk(78.9%, 82.5%, 0%, 34.9%)
CIE-LABlab(23.63, 48.41, -70.50)
CIE-LCHlch(23.63, 85.52, 304.48°)
OKLaboklab(36.29% 0.0058 -0.204)
OKLCHoklch(36.29% 0.204 271.6)
XYZxyz(8.0131, 3.9883, 36.4165)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231DA6 #A0A61D
analogous
#1D5BA6 #231DA6 #671DA6
triadic
#231DA6 #A6231D #1DA623
tetradic
#231DA6 #A61D5B #A0A61D #1DA667
square
#231DA6 #A61D5B #A0A61D #1DA667
split-complementary
#231DA6 #A6671D #5BA61D
monochromatic
#0D0B3E #181472 #231DA6 #2F27D9 #615BE2

Accessibility & contrast

On white

11.68
#231DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#231DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231DA6
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231DA6#FFFFFF#000000##FFFFFF
##231DA61.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAA
Deuteranopia (green-blind)
#0031A4
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #231da6;
/* rgb */ color: rgb(35, 29, 166);
/* oklch */ color: oklch(36.3% 0.204 271.6);
Tailwind
colors: {
  custom: {
    50: '#775dc2',
    500: '#231da6',
    950: '#000000',
  },
}
SCSS
$custom: #231da6;
$custom-light: #775dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#231da6",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 166
  },
  "hsl": {
    "h": 242.628,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36292,
    "c": 0.20409,
    "h": 271.6
  },
  "luminance": 0.03989
}

Semantic roles & 50–950 ramp

primary
#231DA6
secondary
#C1C659
accent
#ED3BE5
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #231DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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