#232292#232292

#232292 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.176 H 272.8°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#232292
RGBrgb(35, 34, 146)
HSLhsl(241, 62%, 35%)
HSVhsv(241, 77%, 57%)
CMYKcmyk(76%, 76.7%, 0%, 42.7%)
CIE-LABlab(22.22, 39.23, -60.59)
CIE-LCHlch(22.22, 72.18, 302.92°)
OKLaboklab(34.62% 0.0084 -0.1753)
OKLCHoklch(34.62% 0.176 272.8)
XYZxyz(6.4517, 3.5760, 27.5388)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232292 #919222
analogous
#225992 #232292 #5B2292
triadic
#232292 #922322 #229223
tetradic
#232292 #922259 #919222 #22925B
square
#232292 #922259 #919222 #22925B
split-complementary
#232292 #925B22 #599222
monochromatic
#0B0B2F #171660 #232292 #2F2EC4 #5857D8

Accessibility & contrast

On white

12.24
#232292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232292
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232292#FFFFFF#000000##FFFFFF
##2322921.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003090
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232292;
/* rgb */ color: rgb(35, 34, 146);
/* oklch */ color: oklch(34.6% 0.176 272.8);
Tailwind
colors: {
  custom: {
    50: '#715fb3',
    500: '#232292',
    950: '#000000',
  },
}
SCSS
$custom: #232292;
$custom-light: #715fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#232292",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 240.536,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34623,
    "c": 0.17554,
    "h": 272.8
  },
  "luminance": 0.03577
}

Semantic roles & 50–950 ramp

primary
#232292
secondary
#BBBC54
accent
#E543E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232292

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

Preview Lab → · Contrast checker → · Palette generator →

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