#232491#232491

#232491 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.172 H 272.6°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#232491
RGBrgb(35, 36, 145)
HSLhsl(239, 61%, 35%)
HSVhsv(239, 76%, 57%)
CMYKcmyk(75.9%, 75.2%, 0%, 43.1%)
CIE-LABlab(22.52, 37.72, -59.46)
CIE-LCHlch(22.52, 70.42, 302.39°)
OKLaboklab(34.81% 0.0077 -0.1721)
OKLCHoklch(34.81% 0.172 272.6)
XYZxyz(6.4331, 3.6627, 27.1505)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232491 #919023
analogous
#235B91 #232491 #592391
triadic
#232491 #912324 #249123
tetradic
#232491 #91235B #919023 #239159
square
#232491 #91235B #919023 #239159
split-complementary
#232491 #915923 #5B9123
monochromatic
#0B0C2E #171860 #232491 #2F30C2 #5859D7

Accessibility & contrast

On white

12.12
#232491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#232491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232491
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232491#FFFFFF#000000##FFFFFF
##2324911.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232491;
/* rgb */ color: rgb(35, 36, 145);
/* oklch */ color: oklch(34.8% 0.172 272.6);
Tailwind
colors: {
  custom: {
    50: '#7160b2',
    500: '#232491',
    950: '#000000',
  },
}
SCSS
$custom: #232491;
$custom-light: #7160b2;
$custom-dark: #000000;
JSON
{
  "hex": "#232491",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 239.455,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34808,
    "c": 0.17225,
    "h": 272.6
  },
  "luminance": 0.03663
}

Semantic roles & 50–950 ramp

primary
#232491
secondary
#BBBA55
accent
#E344E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232491

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

Preview Lab → · Contrast checker → · Palette generator →

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