#232391#232391

#232391 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.173 H 272.7°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#232391
RGBrgb(35, 35, 145)
HSLhsl(240, 61%, 35%)
HSVhsv(240, 76%, 57%)
CMYKcmyk(75.9%, 75.9%, 0%, 43.1%)
CIE-LABlab(22.31, 38.31, -59.81)
CIE-LCHlch(22.31, 71.03, 302.64°)
OKLaboklab(34.66% 0.0082 -0.1731)
OKLCHoklch(34.66% 0.173 272.7)
XYZxyz(6.4033, 3.6031, 27.1406)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232391 #919123
analogous
#235A91 #232391 #5A2391
triadic
#232391 #912323 #239123
tetradic
#232391 #91235A #919123 #23915A
square
#232391 #91235A #919123 #23915A
split-complementary
#232391 #915A23 #5A9123
monochromatic
#0B0B2E #171760 #232391 #2F2FC2 #5858D7

Accessibility & contrast

On white

12.20
#232391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#232391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232391
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232391#FFFFFF#000000##FFFFFF
##2323911.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00308F
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232391;
/* rgb */ color: rgb(35, 35, 145);
/* oklch */ color: oklch(34.7% 0.173 272.7);
Tailwind
colors: {
  custom: {
    50: '#715fb2',
    500: '#232391',
    950: '#000000',
  },
}
SCSS
$custom: #232391;
$custom-light: #715fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#232391",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 240,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34658,
    "c": 0.17328,
    "h": 272.7
  },
  "luminance": 0.03604
}

Semantic roles & 50–950 ramp

primary
#232391
secondary
#BBBB55
accent
#E444E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232391

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

Preview Lab → · Contrast checker → · Palette generator →

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