#231D52#231D52

#231D52 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.2% C 0.093 H 283.5°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#231D52
RGBrgb(35, 29, 82)
HSLhsl(247, 48%, 22%)
HSVhsv(247, 65%, 32%)
CMYKcmyk(57.3%, 64.6%, 0%, 67.8%)
CIE-LABlab(14.65, 19.59, -31.60)
CIE-LCHlch(14.65, 37.18, 301.79°)
OKLaboklab(27.23% 0.0217 -0.0905)
OKLCHoklch(27.23% 0.093 283.5)
XYZxyz(2.6550, 1.8451, 8.1972)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D52 #4C521D
analogous
#1D3252 #231D52 #3E1D52
triadic
#231D52 #52231D #1D5223
tetradic
#231D52 #521D32 #4C521D #1D523E
square
#231D52 #521D32 #4C521D #1D523E
split-complementary
#231D52 #523E1D #32521D
monochromatic
#0A0817 #100D25 #231D52 #362D7F #4A3DAC

Accessibility & contrast

On white

15.34
#231D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#231D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D52
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D52#FFFFFF#000000##FFFFFF
##231D521.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231d52;
/* rgb */ color: rgb(35, 29, 82);
/* oklch */ color: oklch(27.2% 0.093 283.5);
Tailwind
colors: {
  custom: {
    50: '#635983',
    500: '#231d52',
    950: '#000000',
  },
}
SCSS
$custom: #231d52;
$custom-light: #635983;
$custom-dark: #000000;
JSON
{
  "hex": "#231d52",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 246.792,
    "s": 47.748,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27234,
    "c": 0.09307,
    "h": 283.5
  },
  "luminance": 0.01845
}

Semantic roles & 50–950 ramp

primary
#231D52
secondary
#808744
accent
#D750C8
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05030A
muted
#7A787C

Preview Lab

Preview with #231D52

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

Preview Lab → · Contrast checker → · Palette generator →

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