#231A8E#231A8E

#231A8E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.1% C 0.178 H 274.1°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#231A8E
RGBrgb(35, 26, 142)
HSLhsl(245, 69%, 33%)
HSVhsv(245, 82%, 56%)
CMYKcmyk(75.4%, 81.7%, 0%, 44.3%)
CIE-LABlab(20.24, 42.26, -61.38)
CIE-LCHlch(20.24, 74.52, 304.55°)
OKLaboklab(33.1% 0.0127 -0.1775)
OKLCHoklch(33.1% 0.178 274.1)
XYZxyz(5.9434, 3.0485, 25.8611)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A8E #858E1A
analogous
#1A4B8E #231A8E #5D1A8E
triadic
#231A8E #8E231A #1A8E23
tetradic
#231A8E #8E1A4B #858E1A #1A8E5D
square
#231A8E #8E1A4B #858E1A #1A8E5D
split-complementary
#231A8E #8E5D1A #4B8E1A
monochromatic
#090727 #16115A #231A8E #3023C2 #5145DD

Accessibility & contrast

On white

13.05
#231A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#231A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A8E
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A8E#FFFFFF#000000##FFFFFF
##231A8E1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231a8e;
/* rgb */ color: rgb(35, 26, 142);
/* oklch */ color: oklch(33.1% 0.178 274.1);
Tailwind
colors: {
  custom: {
    50: '#715ab0',
    500: '#231a8e',
    950: '#000000',
  },
}
SCSS
$custom: #231a8e;
$custom-light: #715ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#231a8e",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 244.655,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33098,
    "c": 0.17799,
    "h": 274.1
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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