#232091#232091

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

Color values

HEX#232091
RGBrgb(35, 32, 145)
HSLhsl(242, 64%, 35%)
HSVhsv(242, 78%, 57%)
CMYKcmyk(75.9%, 77.9%, 0%, 43.1%)
CIE-LABlab(21.70, 40.03, -60.82)
CIE-LCHlch(21.70, 72.81, 303.35°)
OKLaboklab(34.23% 0.0096 -0.176)
OKLCHoklch(34.23% 0.176 273.1)
XYZxyz(6.3188, 3.4340, 27.1124)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232091 #8E9120
analogous
#205691 #232091 #5C2091
triadic
#232091 #912320 #209123
tetradic
#232091 #912056 #8E9120 #20915C
square
#232091 #912056 #8E9120 #20915C
split-complementary
#232091 #915C20 #569120
monochromatic
#0B0A2D #17155F #232091 #2F2BC3 #5652D9

Accessibility & contrast

On white

12.45
#232091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#232091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232091
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232091#FFFFFF#000000##FFFFFF
##2320911.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003994
Deuteranopia (green-blind)
#002E8F
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232091;
/* rgb */ color: rgb(35, 32, 145);
/* oklch */ color: oklch(34.2% 0.176 273.1);
Tailwind
colors: {
  custom: {
    50: '#715db2',
    500: '#232091',
    950: '#000000',
  },
}
SCSS
$custom: #232091;
$custom-light: #715db2;
$custom-dark: #000000;
JSON
{
  "hex": "#232091",
  "rgb": {
    "r": 35,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 241.593,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34228,
    "c": 0.17624,
    "h": 273.1
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#232091
secondary
#B9BC51
accent
#E741E2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #232091

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

Preview Lab → · Contrast checker → · Palette generator →

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