#23248A#23248A

#23248A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.163 H 273.1°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#23248A
RGBrgb(35, 36, 138)
HSLhsl(239, 60%, 34%)
HSVhsv(239, 75%, 54%)
CMYKcmyk(74.6%, 73.9%, 0%, 45.9%)
CIE-LABlab(21.78, 35.26, -56.34)
CIE-LCHlch(21.78, 66.47, 302.04°)
OKLaboklab(34.05% 0.0089 -0.163)
OKLCHoklch(34.05% 0.163 273.1)
XYZxyz(5.9099, 3.4535, 24.3950)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23248A #8A8923
analogous
#23588A #23248A #56238A
triadic
#23248A #8A2324 #248A23
tetradic
#23248A #8A2358 #8A8923 #238A56
square
#23248A #8A2358 #8A8923 #238A56
split-complementary
#23248A #8A5623 #588A23
monochromatic
#0A0B28 #171759 #23248A #2F31BB #5455D4

Accessibility & contrast

On white

12.42
#23248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#23248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23248A
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23248A#FFFFFF#000000##FFFFFF
##23248A1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#002F88
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #23248a;
/* rgb */ color: rgb(35, 36, 138);
/* oklch */ color: oklch(34.1% 0.163 273.1);
Tailwind
colors: {
  custom: {
    50: '#6f60ad',
    500: '#23248a',
    950: '#000000',
  },
}
SCSS
$custom: #23248a;
$custom-light: #6f60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#23248a",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 239.417,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34051,
    "c": 0.16323,
    "h": 273.1
  },
  "luminance": 0.03454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23248A

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

Preview Lab → · Contrast checker → · Palette generator →

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