#231DA7#231DA7

#231DA7 is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.4% C 0.205 H 271.5°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#231DA7
RGBrgb(35, 29, 167)
HSLhsl(243, 70%, 38%)
HSVhsv(243, 83%, 65%)
CMYKcmyk(79%, 82.6%, 0%, 34.5%)
CIE-LABlab(23.75, 48.72, -70.90)
CIE-LCHlch(23.75, 86.03, 304.50°)
OKLaboklab(36.41% 0.0056 -0.2052)
OKLCHoklch(36.41% 0.205 271.5)
XYZxyz(8.1052, 4.0252, 36.9015)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231DA7 #A1A71D
analogous
#1D5CA7 #231DA7 #681DA7
triadic
#231DA7 #A7231D #1DA723
tetradic
#231DA7 #A71D5C #A1A71D #1DA768
square
#231DA7 #A71D5C #A1A71D #1DA768
split-complementary
#231DA7 #A7681D #5CA71D
monochromatic
#0D0B3F #181473 #231DA7 #2F28DA #625CE3

Accessibility & contrast

On white

11.63
#231DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231DA7
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231DA7#FFFFFF#000000##FFFFFF
##231DA71.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAB
Deuteranopia (green-blind)
#0031A5
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #231da7;
/* rgb */ color: rgb(35, 29, 167);
/* oklch */ color: oklch(36.4% 0.205 271.5);
Tailwind
colors: {
  custom: {
    50: '#775dc3',
    500: '#231da7',
    950: '#000000',
  },
}
SCSS
$custom: #231da7;
$custom-light: #775dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#231da7",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 167
  },
  "hsl": {
    "h": 242.609,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36412,
    "c": 0.20526,
    "h": 271.5
  },
  "luminance": 0.04026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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