#231C90#231C90

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

Color values

HEX#231C90
RGBrgb(35, 28, 144)
HSLhsl(244, 67%, 34%)
HSVhsv(244, 81%, 56%)
CMYKcmyk(75.7%, 80.6%, 0%, 43.5%)
CIE-LABlab(20.83, 41.88, -61.64)
CIE-LCHlch(20.83, 74.52, 304.19°)
OKLaboklab(33.58% 0.0114 -0.1783)
OKLCHoklch(33.58% 0.179 273.7)
XYZxyz(6.1408, 3.2008, 26.6743)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C90 #89901C
analogous
#1C4F90 #231C90 #5D1C90
triadic
#231C90 #90231C #1C9023
tetradic
#231C90 #901C4F #89901C #1C905D
square
#231C90 #901C4F #89901C #1C905D
split-complementary
#231C90 #905D1C #4F901C
monochromatic
#0A082A #17125D #231C90 #2F26C3 #534ADC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##231C90#FFFFFF#000000##FFFFFF
##231C901.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)
#003793
Deuteranopia (green-blind)
#002D8E
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #231c90;
/* rgb */ color: rgb(35, 28, 144);
/* oklch */ color: oklch(33.6% 0.179 273.7);
Tailwind
colors: {
  custom: {
    50: '#715bb2',
    500: '#231c90',
    950: '#000000',
  },
}
SCSS
$custom: #231c90;
$custom-light: #715bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#231c90",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 243.621,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33581,
    "c": 0.1787,
    "h": 273.7
  },
  "luminance": 0.03201
}

Semantic roles & 50–950 ramp

primary
#231C90
secondary
#B7BE4A
accent
#EA3DE0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231C90

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

Preview Lab → · Contrast checker → · Palette generator →

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