#232452#232452

#232452 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.082 H 279.0°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#232452
RGBrgb(35, 36, 82)
HSLhsl(239, 40%, 23%)
HSVhsv(239, 57%, 32%)
CMYKcmyk(57.3%, 56.1%, 0%, 67.8%)
CIE-LABlab(16.64, 14.58, -28.39)
CIE-LCHlch(16.64, 31.91, 297.18°)
OKLaboklab(28.71% 0.0128 -0.081)
OKLCHoklch(28.71% 0.082 279)
XYZxyz(2.8465, 2.2281, 8.2611)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232452 #525123
analogous
#233B52 #232452 #392352
triadic
#232452 #522324 #245223
tetradic
#232452 #52233B #525123 #235239
square
#232452 #52233B #525123 #235239
split-complementary
#232452 #523923 #3B5223
monochromatic
#090915 #111127 #232452 #35377D #484AA8

Accessibility & contrast

On white

14.53
#232452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#232452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232452
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232452#FFFFFF#000000##FFFFFF
##2324521.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2B54
Deuteranopia (green-blind)
#072751
Tritanopia (blue-blind)
#0F2E37
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #232452;
/* rgb */ color: rgb(35, 36, 82);
/* oklch */ color: oklch(28.7% 0.082 279.0);
Tailwind
colors: {
  custom: {
    50: '#625e83',
    500: '#232452',
    950: '#000000',
  },
}
SCSS
$custom: #232452;
$custom-light: #625e83;
$custom-dark: #000000;
JSON
{
  "hex": "#232452",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 238.723,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28713,
    "c": 0.08203,
    "h": 279
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#232452
secondary
#86854B
accent
#CD58D0
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040A
muted
#7A797C

Preview Lab

Preview with #232452

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

Preview Lab → · Contrast checker → · Palette generator →

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