#231A95#231A95

#231A95 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.186 H 273.3°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#231A95
RGBrgb(35, 26, 149)
HSLhsl(244, 70%, 34%)
HSVhsv(244, 83%, 58%)
CMYKcmyk(76.5%, 82.6%, 0%, 41.6%)
CIE-LABlab(21.08, 44.50, -64.33)
CIE-LCHlch(21.08, 78.23, 304.67°)
OKLaboklab(33.92% 0.0109 -0.1861)
OKLCHoklch(33.92% 0.186 273.3)
XYZxyz(6.4855, 3.2654, 28.7164)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A95 #8C951A
analogous
#1A4F95 #231A95 #611A95
triadic
#231A95 #95231A #1A9523
tetradic
#231A95 #951A4F #8C951A #1A9561
square
#231A95 #951A4F #8C951A #1A9561
split-complementary
#231A95 #95611A #4F951A
monochromatic
#0B082D #171161 #231A95 #2F23C9 #554ADF

Accessibility & contrast

On white

12.70
#231A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#231A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A95
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A95#FFFFFF#000000##FFFFFF
##231A951.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003898
Deuteranopia (green-blind)
#002D93
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #231a95;
/* rgb */ color: rgb(35, 26, 149);
/* oklch */ color: oklch(33.9% 0.186 273.3);
Tailwind
colors: {
  custom: {
    50: '#735ab5',
    500: '#231a95',
    950: '#000000',
  },
}
SCSS
$custom: #231a95;
$custom-light: #735ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#231a95",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 244.39,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33925,
    "c": 0.18642,
    "h": 273.3
  },
  "luminance": 0.03266
}

Semantic roles & 50–950 ramp

primary
#231A95
secondary
#B8C14A
accent
#ED3BE0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #231A95

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

Preview Lab → · Contrast checker → · Palette generator →

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