#231A90#231A90

#231A90 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.180 H 273.9°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#231A90
RGBrgb(35, 26, 144)
HSLhsl(245, 69%, 33%)
HSVhsv(245, 82%, 56%)
CMYKcmyk(75.7%, 81.9%, 0%, 43.5%)
CIE-LABlab(20.48, 42.91, -62.23)
CIE-LCHlch(20.48, 75.59, 304.59°)
OKLaboklab(33.33% 0.0122 -0.18)
OKLCHoklch(33.33% 0.18 273.9)
XYZxyz(6.0949, 3.1091, 26.6591)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A90 #87901A
analogous
#1A4C90 #231A90 #5E1A90
triadic
#231A90 #90231A #1A9023
tetradic
#231A90 #901A4C #87901A #1A905E
square
#231A90 #901A4C #87901A #1A905E
split-complementary
#231A90 #905E1A #4C901A
monochromatic
#0A0728 #16115C #231A90 #3023C4 #5247DE

Accessibility & contrast

On white

12.95
#231A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#231A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A90
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A90#FFFFFF#000000##FFFFFF
##231A901.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002C8E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231a90;
/* rgb */ color: rgb(35, 26, 144);
/* oklch */ color: oklch(33.3% 0.180 273.9);
Tailwind
colors: {
  custom: {
    50: '#725ab2',
    500: '#231a90',
    950: '#000000',
  },
}
SCSS
$custom: #231a90;
$custom-light: #725ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#231a90",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 244.576,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33333,
    "c": 0.18041,
    "h": 273.9
  },
  "luminance": 0.0311
}

Semantic roles & 50–950 ramp

primary
#231A90
secondary
#B6BF47
accent
#EC3CDF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231A90

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

Preview Lab → · Contrast checker → · Palette generator →

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