#232152#232152

#232152 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.087 H 281.1°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#232152
RGBrgb(35, 33, 82)
HSLhsl(242, 43%, 23%)
HSVhsv(242, 60%, 32%)
CMYKcmyk(57.3%, 59.8%, 0%, 67.8%)
CIE-LABlab(15.77, 16.74, -29.80)
CIE-LCHlch(15.77, 34.18, 299.33°)
OKLaboklab(28.06% 0.0167 -0.0852)
OKLCHoklch(28.06% 0.087 281.1)
XYZxyz(2.7595, 2.0541, 8.2321)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232152 #505221
analogous
#213752 #232152 #3B2152
triadic
#232152 #522321 #215223
tetradic
#232152 #522137 #505221 #21523B
square
#232152 #522137 #505221 #21523B
split-complementary
#232152 #523B21 #375221
monochromatic
#090916 #100F26 #232152 #36337E #4844A9

Accessibility & contrast

On white

14.89
#232152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#232152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232152
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232152#FFFFFF#000000##FFFFFF
##2321521.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042954
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#0F2C35
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #232152;
/* rgb */ color: rgb(35, 33, 82);
/* oklch */ color: oklch(28.1% 0.087 281.1);
Tailwind
colors: {
  custom: {
    50: '#625c83',
    500: '#232152',
    950: '#000000',
  },
}
SCSS
$custom: #232152;
$custom-light: #625c83;
$custom-dark: #000000;
JSON
{
  "hex": "#232152",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 242.449,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.2806,
    "c": 0.0868,
    "h": 281.1
  },
  "luminance": 0.02054
}

Semantic roles & 50–950 ramp

primary
#232152
secondary
#848649
accent
#D255CD
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040A
muted
#7A797C

Preview Lab

Preview with #232152

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

Preview Lab → · Contrast checker → · Palette generator →

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