#232792#232792

#232792 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.170 H 272.0°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#232792
RGBrgb(35, 39, 146)
HSLhsl(238, 61%, 35%)
HSVhsv(238, 76%, 57%)
CMYKcmyk(76%, 73.3%, 0%, 42.7%)
CIE-LABlab(23.28, 36.25, -58.83)
CIE-LCHlch(23.28, 69.11, 301.64°)
OKLaboklab(35.38% 0.006 -0.1703)
OKLCHoklch(35.38% 0.17 272)
XYZxyz(6.6052, 3.8830, 27.5899)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232792 #928E23
analogous
#235E92 #232792 #562392
triadic
#232792 #922327 #279223
tetradic
#232792 #92235E #928E23 #239256
square
#232792 #92235E #928E23 #239256
split-complementary
#232792 #925623 #5E9223
monochromatic
#0B0D2F #171A61 #232792 #2F34C3 #585DD7

Accessibility & contrast

On white

11.82
#232792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#232792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232792
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232792#FFFFFF#000000##FFFFFF
##2327921.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #232792;
/* rgb */ color: rgb(35, 39, 146);
/* oklch */ color: oklch(35.4% 0.170 272.0);
Tailwind
colors: {
  custom: {
    50: '#7162b3',
    500: '#232792',
    950: '#000000',
  },
}
SCSS
$custom: #232792;
$custom-light: #7162b3;
$custom-dark: #000000;
JSON
{
  "hex": "#232792",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 237.838,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3538,
    "c": 0.17037,
    "h": 272
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

primary
#232792
secondary
#BBB855
accent
#DF43E4
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232792

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

Preview Lab → · Contrast checker → · Palette generator →

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