#231A8D#231A8D

#231A8D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.177 H 274.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#231A8D
RGBrgb(35, 26, 141)
HSLhsl(245, 69%, 33%)
HSVhsv(245, 82%, 55%)
CMYKcmyk(75.2%, 81.6%, 0%, 44.7%)
CIE-LABlab(20.12, 41.94, -60.95)
CIE-LCHlch(20.12, 73.99, 304.53°)
OKLaboklab(32.98% 0.013 -0.1763)
OKLCHoklch(32.98% 0.177 274.2)
XYZxyz(5.8687, 3.0186, 25.4675)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A8D #848D1A
analogous
#1A4A8D #231A8D #5D1A8D
triadic
#231A8D #8D231A #1A8D23
tetradic
#231A8D #8D1A4A #848D1A #1A8D5D
square
#231A8D #8D1A4A #848D1A #1A8D5D
split-complementary
#231A8D #8D5D1A #4A8D1A
monochromatic
#090726 #161059 #231A8D #3024C1 #5145DD

Accessibility & contrast

On white

13.09
#231A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#231A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A8D
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A8D#FFFFFF#000000##FFFFFF
##231A8D1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003690
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231a8d;
/* rgb */ color: rgb(35, 26, 141);
/* oklch */ color: oklch(33.0% 0.177 274.2);
Tailwind
colors: {
  custom: {
    50: '#715ab0',
    500: '#231a8d',
    950: '#000000',
  },
}
SCSS
$custom: #231a8d;
$custom-light: #715ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#231a8d",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 244.696,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32981,
    "c": 0.17678,
    "h": 274.2
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#231A8D
secondary
#B4BE45
accent
#EC3CDE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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