#23298D#23298D

#23298D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.162 H 272.0°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#23298D
RGBrgb(35, 41, 141)
HSLhsl(237, 60%, 35%)
HSVhsv(237, 75%, 55%)
CMYKcmyk(75.2%, 70.9%, 0%, 44.7%)
CIE-LABlab(23.22, 33.21, -55.83)
CIE-LCHlch(23.22, 64.96, 300.74°)
OKLaboklab(35.18% 0.0056 -0.1615)
OKLCHoklch(35.18% 0.162 272)
XYZxyz(6.2922, 3.8656, 25.6087)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23298D #8D8723
analogous
#235E8D #23298D #52238D
triadic
#23298D #8D2329 #298D23
tetradic
#23298D #8D235E #8D8723 #238D52
square
#23298D #8D235E #8D8723 #238D52
split-complementary
#23298D #8D5223 #5E8D23
monochromatic
#0B0C2B #171B5C #23298D #2F37BE #555DD5

Accessibility & contrast

On white

11.84
#23298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#23298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23298D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23298D#FFFFFF#000000##FFFFFF
##23298D1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #23298d;
/* rgb */ color: rgb(35, 41, 141);
/* oklch */ color: oklch(35.2% 0.162 272.0);
Tailwind
colors: {
  custom: {
    50: '#6f63af',
    500: '#23298d',
    950: '#000000',
  },
}
SCSS
$custom: #23298d;
$custom-light: #6f63af;
$custom-dark: #000000;
JSON
{
  "hex": "#23298d",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 236.604,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35183,
    "c": 0.1616,
    "h": 272
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#23298D
secondary
#B9B353
accent
#DA44E3
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #23298D

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

Preview Lab → · Contrast checker → · Palette generator →

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