#231990#231990

#231990 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.181 H 274.0°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#231990
RGBrgb(35, 25, 144)
HSLhsl(245, 70%, 33%)
HSVhsv(245, 83%, 56%)
CMYKcmyk(75.7%, 82.6%, 0%, 43.5%)
CIE-LABlab(20.30, 43.41, -62.51)
CIE-LCHlch(20.30, 76.11, 304.77°)
OKLaboklab(33.22% 0.0125 -0.1808)
OKLCHoklch(33.22% 0.181 274)
XYZxyz(6.0731, 3.0656, 26.6518)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231990 #869019
analogous
#194A90 #231990 #5E1990
triadic
#231990 #902319 #199023
tetradic
#231990 #90194A #869019 #19905E
square
#231990 #90194A #869019 #19905E
split-complementary
#231990 #905E19 #4A9019
monochromatic
#0A0728 #16105C #231990 #3022C4 #5245DF

Accessibility & contrast

On white

13.02
#231990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#231990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231990
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231990#FFFFFF#000000##FFFFFF
##2319901.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002B8E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231990;
/* rgb */ color: rgb(35, 25, 144);
/* oklch */ color: oklch(33.2% 0.181 274.0);
Tailwind
colors: {
  custom: {
    50: '#7259b2',
    500: '#231990',
    950: '#000000',
  },
}
SCSS
$custom: #231990;
$custom-light: #7259b2;
$custom-dark: #000000;
JSON
{
  "hex": "#231990",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 245.042,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33215,
    "c": 0.18124,
    "h": 274
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#231990
secondary
#B5C045
accent
#ED3BDE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231990

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

Preview Lab → · Contrast checker → · Palette generator →

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