#231892#231892

#231892 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.184 H 273.8°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#231892
RGBrgb(35, 24, 146)
HSLhsl(245, 72%, 33%)
HSVhsv(245, 84%, 57%)
CMYKcmyk(76%, 83.6%, 0%, 42.7%)
CIE-LABlab(20.38, 44.52, -63.63)
CIE-LCHlch(20.38, 77.66, 304.98°)
OKLaboklab(33.34% 0.0123 -0.184)
OKLCHoklch(33.34% 0.184 273.8)
XYZxyz(6.2064, 3.0853, 27.4570)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231892 #879218
analogous
#184A92 #231892 #601892
triadic
#231892 #922318 #189223
tetradic
#231892 #92184A #879218 #189260
square
#231892 #92184A #879218 #189260
split-complementary
#231892 #926018 #4A9218
monochromatic
#0A0729 #160F5D #231892 #3021C7 #5244E0

Accessibility & contrast

On white

12.99
#231892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#231892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231892
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231892#FFFFFF#000000##FFFFFF
##2318921.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231892;
/* rgb */ color: rgb(35, 24, 146);
/* oklch */ color: oklch(33.3% 0.184 273.8);
Tailwind
colors: {
  custom: {
    50: '#7259b3',
    500: '#231892',
    950: '#000000',
  },
}
SCSS
$custom: #231892;
$custom-light: #7259b3;
$custom-dark: #000000;
JSON
{
  "hex": "#231892",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 146
  },
  "hsl": {
    "h": 245.41,
    "s": 71.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33339,
    "c": 0.18443,
    "h": 273.8
  },
  "luminance": 0.03086
}

Semantic roles & 50–950 ramp

primary
#231892
secondary
#B6C145
accent
#EE39DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231892

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

Preview Lab → · Contrast checker → · Palette generator →

#231892 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva