#23248D#23248D

#23248D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.167 H 272.9°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#23248D
RGBrgb(35, 36, 141)
HSLhsl(239, 60%, 35%)
HSVhsv(239, 75%, 55%)
CMYKcmyk(75.2%, 74.5%, 0%, 44.7%)
CIE-LABlab(22.09, 36.32, -57.69)
CIE-LCHlch(22.09, 68.17, 302.19°)
OKLaboklab(34.37% 0.0084 -0.1669)
OKLCHoklch(34.37% 0.167 272.9)
XYZxyz(6.1301, 3.5415, 25.5547)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23248D #8D8C23
analogous
#23598D #23248D #57238D
triadic
#23248D #8D2324 #248D23
tetradic
#23248D #8D2359 #8D8C23 #238D57
square
#23248D #8D2359 #8D8C23 #238D57
split-complementary
#23248D #8D5723 #598D23
monochromatic
#0B0B2B #17175C #23248D #2F31BE #5557D5

Accessibility & contrast

On white

12.29
#23248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#23248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23248D
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23248D#FFFFFF#000000##FFFFFF
##23248D1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #23248d;
/* rgb */ color: rgb(35, 36, 141);
/* oklch */ color: oklch(34.4% 0.167 272.9);
Tailwind
colors: {
  custom: {
    50: '#7060af',
    500: '#23248d',
    950: '#000000',
  },
}
SCSS
$custom: #23248d;
$custom-light: #7060af;
$custom-dark: #000000;
JSON
{
  "hex": "#23248d",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 239.434,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34373,
    "c": 0.16712,
    "h": 272.9
  },
  "luminance": 0.03542
}

Semantic roles & 50–950 ramp

primary
#23248D
secondary
#B9B853
accent
#E244E3
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #23248D

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

Preview Lab → · Contrast checker → · Palette generator →

#23248D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva