#23248B#23248B

#23248B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.165 H 273.0°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#23248B
RGBrgb(35, 36, 139)
HSLhsl(239, 60%, 34%)
HSVhsv(239, 75%, 55%)
CMYKcmyk(74.8%, 74.1%, 0%, 45.5%)
CIE-LABlab(21.88, 35.61, -56.79)
CIE-LCHlch(21.88, 67.03, 302.09°)
OKLaboklab(34.16% 0.0088 -0.1643)
OKLCHoklch(34.16% 0.165 273)
XYZxyz(5.9827, 3.4826, 24.7780)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23248B #8B8A23
analogous
#23588B #23248B #56238B
triadic
#23248B #8B2324 #248B23
tetradic
#23248B #8B2358 #8B8A23 #238B56
square
#23248B #8B2358 #8B8A23 #238B56
split-complementary
#23248B #8B5623 #588B23
monochromatic
#0A0B29 #17175A #23248B #2F31BC #5456D4

Accessibility & contrast

On white

12.38
#23248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#23248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23248B
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23248B#FFFFFF#000000##FFFFFF
##23248B1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#002F89
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #23248b;
/* rgb */ color: rgb(35, 36, 139);
/* oklch */ color: oklch(34.2% 0.165 273.0);
Tailwind
colors: {
  custom: {
    50: '#6f60ae',
    500: '#23248b',
    950: '#000000',
  },
}
SCSS
$custom: #23248b;
$custom-light: #6f60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23248b",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 239.423,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34158,
    "c": 0.16453,
    "h": 273
  },
  "luminance": 0.03483
}

Semantic roles & 50–950 ramp

primary
#23248B
secondary
#B8B752
accent
#E145E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #23248B

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

Preview Lab → · Contrast checker → · Palette generator →

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