#231A94#231A94

#231A94 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.8% C 0.185 H 273.5°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#231A94
RGBrgb(35, 26, 148)
HSLhsl(244, 70%, 34%)
HSVhsv(244, 82%, 58%)
CMYKcmyk(76.4%, 82.4%, 0%, 42%)
CIE-LABlab(20.96, 44.19, -63.91)
CIE-LCHlch(20.96, 77.70, 304.66°)
OKLaboklab(33.81% 0.0112 -0.1849)
OKLCHoklch(33.81% 0.185 273.5)
XYZxyz(6.4060, 3.2336, 28.2978)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A94 #8B941A
analogous
#1A4E94 #231A94 #601A94
triadic
#231A94 #94231A #1A9423
tetradic
#231A94 #941A4E #8B941A #1A9460
square
#231A94 #941A4E #8B941A #1A9460
split-complementary
#231A94 #94601A #4E941A
monochromatic
#0A082C #171160 #231A94 #2F23C8 #5449DF

Accessibility & contrast

On white

12.75
#231A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231A94
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A94#FFFFFF#000000##FFFFFF
##231A941.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003897
Deuteranopia (green-blind)
#002C92
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #231a94;
/* rgb */ color: rgb(35, 26, 148);
/* oklch */ color: oklch(33.8% 0.185 273.5);
Tailwind
colors: {
  custom: {
    50: '#735ab5',
    500: '#231a94',
    950: '#000000',
  },
}
SCSS
$custom: #231a94;
$custom-light: #735ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#231a94",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 244.426,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.33807,
    "c": 0.18523,
    "h": 273.5
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#231A94
secondary
#B8C149
accent
#ED3BE0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231A94

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

Preview Lab → · Contrast checker → · Palette generator →

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