#231DA1#231DA1

#231DA1 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.198 H 272.0°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#231DA1
RGBrgb(35, 29, 161)
HSLhsl(243, 69%, 37%)
HSVhsv(243, 82%, 63%)
CMYKcmyk(78.3%, 82%, 0%, 36.9%)
CIE-LABlab(23.03, 46.84, -68.46)
CIE-LCHlch(23.03, 82.95, 304.38°)
OKLaboklab(35.7% 0.007 -0.1981)
OKLCHoklch(35.7% 0.198 272)
XYZxyz(7.5634, 3.8084, 34.0478)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231DA1 #9BA11D
analogous
#1D59A1 #231DA1 #651DA1
triadic
#231DA1 #A1231D #1DA123
tetradic
#231DA1 #A11D59 #9BA11D #1DA165
square
#231DA1 #A11D59 #9BA11D #1DA165
split-complementary
#231DA1 #A1651D #59A11D
monochromatic
#0C0A39 #18146D #231DA1 #2E26D5 #5E58E1

Accessibility & contrast

On white

11.92
#231DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#231DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231DA1
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231DA1#FFFFFF#000000##FFFFFF
##231DA11.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00309F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #231da1;
/* rgb */ color: rgb(35, 29, 161);
/* oklch */ color: oklch(35.7% 0.198 272.0);
Tailwind
colors: {
  custom: {
    50: '#765dbe',
    500: '#231da1',
    950: '#000000',
  },
}
SCSS
$custom: #231da1;
$custom-light: #765dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#231da1",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 242.727,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35698,
    "c": 0.19824,
    "h": 272
  },
  "luminance": 0.03809
}

Semantic roles & 50–950 ramp

primary
#231DA1
secondary
#BFC455
accent
#EC3CE4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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