#231C52#231C52

#231C52 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.095 H 284.0°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#231C52
RGBrgb(35, 28, 82)
HSLhsl(248, 49%, 22%)
HSVhsv(248, 66%, 32%)
CMYKcmyk(57.3%, 65.9%, 0%, 67.8%)
CIE-LABlab(14.38, 20.29, -32.04)
CIE-LCHlch(14.38, 37.92, 302.34°)
OKLaboklab(27.04% 0.0229 -0.0918)
OKLCHoklch(27.04% 0.095 284)
XYZxyz(2.6309, 1.7969, 8.1892)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C52 #4B521C
analogous
#1C3052 #231C52 #3E1C52
triadic
#231C52 #52231C #1C5223
tetradic
#231C52 #521C30 #4B521C #1C523E
square
#231C52 #521C30 #4B521C #1C523E
split-complementary
#231C52 #523E1C #30521C
monochromatic
#0A0817 #100C24 #231C52 #362C80 #4A3BAD

Accessibility & contrast

On white

15.45
#231C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#231C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C52
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C52#FFFFFF#000000##FFFFFF
##231C521.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#002351
Tritanopia (blue-blind)
#102934
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #231c52;
/* rgb */ color: rgb(35, 28, 82);
/* oklch */ color: oklch(27.0% 0.095 284.0);
Tailwind
colors: {
  custom: {
    50: '#635883',
    500: '#231c52',
    950: '#000000',
  },
}
SCSS
$custom: #231c52;
$custom-light: #635883;
$custom-dark: #000000;
JSON
{
  "hex": "#231c52",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 247.778,
    "s": 49.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.27036,
    "c": 0.09462,
    "h": 284
  },
  "luminance": 0.01797
}

Semantic roles & 50–950 ramp

primary
#231C52
secondary
#7F8842
accent
#D94FC7
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05030B
muted
#7A787C

Preview Lab

Preview with #231C52

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

Preview Lab → · Contrast checker → · Palette generator →

#231C52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva