#231A93#231A93

#231A93 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.184 H 273.6°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#231A93
RGBrgb(35, 26, 147)
HSLhsl(244, 70%, 34%)
HSVhsv(244, 82%, 58%)
CMYKcmyk(76.2%, 82.3%, 0%, 42.4%)
CIE-LABlab(20.84, 43.87, -63.50)
CIE-LCHlch(20.84, 77.18, 304.64°)
OKLaboklab(33.69% 0.0114 -0.1837)
OKLCHoklch(33.69% 0.184 273.6)
XYZxyz(6.3272, 3.2020, 27.8827)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A93 #8A931A
analogous
#1A4E93 #231A93 #601A93
triadic
#231A93 #93231A #1A9323
tetradic
#231A93 #931A4E #8A931A #1A9360
square
#231A93 #931A4E #8A931A #1A9360
split-complementary
#231A93 #93601A #4E931A
monochromatic
#0A082B #17115F #231A93 #2F23C7 #5449DF

Accessibility & contrast

On white

12.80
#231A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#231A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A93
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A93#FFFFFF#000000##FFFFFF
##231A931.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#002C91
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #231a93;
/* rgb */ color: rgb(35, 26, 147);
/* oklch */ color: oklch(33.7% 0.184 273.6);
Tailwind
colors: {
  custom: {
    50: '#725ab4',
    500: '#231a93',
    950: '#000000',
  },
}
SCSS
$custom: #231a93;
$custom-light: #725ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#231a93",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 244.463,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33688,
    "c": 0.18402,
    "h": 273.6
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231A93

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

Preview Lab → · Contrast checker → · Palette generator →

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