#23298B#23298B

#23298B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.159 H 272.1°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#23298B
RGBrgb(35, 41, 139)
HSLhsl(237, 60%, 34%)
HSVhsv(237, 75%, 55%)
CMYKcmyk(74.8%, 70.5%, 0%, 45.5%)
CIE-LABlab(23.02, 32.48, -54.91)
CIE-LCHlch(23.02, 63.80, 300.60°)
OKLaboklab(34.98% 0.0059 -0.1588)
OKLCHoklch(34.98% 0.159 272.1)
XYZxyz(6.1447, 3.8067, 24.8320)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23298B #8B8523
analogous
#235D8B #23298B #51238B
triadic
#23298B #8B2329 #298B23
tetradic
#23298B #8B235D #8B8523 #238B51
square
#23298B #8B235D #8B8523 #238B51
split-complementary
#23298B #8B5123 #5D8B23
monochromatic
#0A0C29 #171B5A #23298B #2F37BC #545CD4

Accessibility & contrast

On white

11.92
#23298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#23298B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23298B
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23298B#FFFFFF#000000##FFFFFF
##23298B1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #23298b;
/* rgb */ color: rgb(35, 41, 139);
/* oklch */ color: oklch(35.0% 0.159 272.1);
Tailwind
colors: {
  custom: {
    50: '#6f63ae',
    500: '#23298b',
    950: '#000000',
  },
}
SCSS
$custom: #23298b;
$custom-light: #6f63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23298b",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 236.538,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34977,
    "c": 0.15894,
    "h": 272.1
  },
  "luminance": 0.03807
}

Semantic roles & 50–950 ramp

primary
#23298B
secondary
#B8B252
accent
#DA45E3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #23298B

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

Preview Lab → · Contrast checker → · Palette generator →

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