#231899#231899

#231899 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.2% C 0.193 H 273.1°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#231899
RGBrgb(35, 24, 153)
HSLhsl(245, 73%, 35%)
HSVhsv(245, 84%, 60%)
CMYKcmyk(77.1%, 84.3%, 0%, 40%)
CIE-LABlab(21.24, 46.70, -66.52)
CIE-LCHlch(21.24, 81.28, 305.07°)
OKLaboklab(34.18% 0.0104 -0.1924)
OKLCHoklch(34.18% 0.193 273.1)
XYZxyz(6.7676, 3.3098, 30.4130)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231899 #8E9918
analogous
#184E99 #231899 #631899
triadic
#231899 #992318 #189923
tetradic
#231899 #99184E #8E9918 #189963
square
#231899 #99184E #8E9918 #189963
split-complementary
#231899 #996318 #4E9918
monochromatic
#0B072F #171064 #231899 #2F20CE #5649E2

Accessibility & contrast

On white

12.63
#231899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#231899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231899
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231899#FFFFFF#000000##FFFFFF
##2318991.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399C
Deuteranopia (green-blind)
#002D97
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #231899;
/* rgb */ color: rgb(35, 24, 153);
/* oklch */ color: oklch(34.2% 0.193 273.1);
Tailwind
colors: {
  custom: {
    50: '#745ab8',
    500: '#231899',
    950: '#000000',
  },
}
SCSS
$custom: #231899;
$custom-light: #745ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#231899",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 153
  },
  "hsl": {
    "h": 245.116,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34182,
    "c": 0.19269,
    "h": 273.1
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#231899
secondary
#B9C449
accent
#F038E0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231899

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

Preview Lab → · Contrast checker → · Palette generator →

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