#23248E#23248E

#23248E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.168 H 272.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#23248E
RGBrgb(35, 36, 142)
HSLhsl(239, 60%, 35%)
HSVhsv(239, 75%, 56%)
CMYKcmyk(75.4%, 74.6%, 0%, 44.3%)
CIE-LABlab(22.20, 36.67, -58.13)
CIE-LCHlch(22.20, 68.73, 302.24°)
OKLaboklab(34.48% 0.0082 -0.1682)
OKLCHoklch(34.48% 0.168 272.8)
XYZxyz(6.2049, 3.5714, 25.9483)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23248E #8E8D23
analogous
#235A8E #23248E #57238E
triadic
#23248E #8E2324 #248E23
tetradic
#23248E #8E235A #8E8D23 #238E57
square
#23248E #8E235A #8E8D23 #238E57
split-complementary
#23248E #8E5723 #5A8E23
monochromatic
#0B0B2C #17185D #23248E #2F30BF #5657D5

Accessibility & contrast

On white

12.25
#23248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23248E
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23248E#FFFFFF#000000##FFFFFF
##23248E1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #23248e;
/* rgb */ color: rgb(35, 36, 142);
/* oklch */ color: oklch(34.5% 0.168 272.8);
Tailwind
colors: {
  custom: {
    50: '#7060b0',
    500: '#23248e',
    950: '#000000',
  },
}
SCSS
$custom: #23248e;
$custom-light: #7060b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23248e",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 239.439,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34482,
    "c": 0.16841,
    "h": 272.8
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#23248E
secondary
#B9B853
accent
#E244E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #23248E

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

Preview Lab → · Contrast checker → · Palette generator →

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