#231994#231994

#231994 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.186 H 273.5°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#231994
RGBrgb(35, 25, 148)
HSLhsl(245, 71%, 34%)
HSVhsv(245, 83%, 58%)
CMYKcmyk(76.4%, 83.1%, 0%, 42%)
CIE-LABlab(20.79, 44.67, -64.19)
CIE-LCHlch(20.79, 78.21, 304.84°)
OKLaboklab(33.69% 0.0115 -0.1857)
OKLCHoklch(33.69% 0.186 273.5)
XYZxyz(6.3843, 3.1900, 28.2905)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231994 #8A9419
analogous
#194D94 #231994 #611994
triadic
#231994 #942319 #199423
tetradic
#231994 #94194D #8A9419 #199461
square
#231994 #94194D #8A9419 #199461
split-complementary
#231994 #946119 #4D9419
monochromatic
#0A072B #171060 #231994 #2F22C8 #5447E0

Accessibility & contrast

On white

12.82
#231994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#231994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231994
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231994#FFFFFF#000000##FFFFFF
##2319941.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003897
Deuteranopia (green-blind)
#002C92
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #231994;
/* rgb */ color: rgb(35, 25, 148);
/* oklch */ color: oklch(33.7% 0.186 273.5);
Tailwind
colors: {
  custom: {
    50: '#735ab5',
    500: '#231994',
    950: '#000000',
  },
}
SCSS
$custom: #231994;
$custom-light: #735ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#231994",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 244.878,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33691,
    "c": 0.18602,
    "h": 273.5
  },
  "luminance": 0.03191
}

Semantic roles & 50–950 ramp

primary
#231994
secondary
#B7C147
accent
#EE3ADF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231994

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

Preview Lab → · Contrast checker → · Palette generator →

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