#23298F#23298F

#23298F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.164 H 271.9°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#23298F
RGBrgb(35, 41, 143)
HSLhsl(237, 61%, 35%)
HSVhsv(237, 76%, 56%)
CMYKcmyk(75.5%, 71.3%, 0%, 43.9%)
CIE-LABlab(23.42, 33.93, -56.74)
CIE-LCHlch(23.42, 66.11, 300.88°)
OKLaboklab(35.39% 0.0054 -0.1642)
OKLCHoklch(35.39% 0.164 271.9)
XYZxyz(6.4423, 3.9257, 26.3995)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23298F #8F8923
analogous
#235F8F #23298F #53238F
triadic
#23298F #8F2329 #298F23
tetradic
#23298F #8F235F #8F8923 #238F53
square
#23298F #8F235F #8F8923 #238F53
split-complementary
#23298F #8F5323 #5F8F23
monochromatic
#0B0D2D #171B5E #23298F #2F37C0 #575ED6

Accessibility & contrast

On white

11.76
#23298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#23298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23298F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23298F#FFFFFF#000000##FFFFFF
##23298F1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #23298f;
/* rgb */ color: rgb(35, 41, 143);
/* oklch */ color: oklch(35.4% 0.164 271.9);
Tailwind
colors: {
  custom: {
    50: '#7063b1',
    500: '#23298f',
    950: '#000000',
  },
}
SCSS
$custom: #23298f;
$custom-light: #7063b1;
$custom-dark: #000000;
JSON
{
  "hex": "#23298f",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 236.667,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3539,
    "c": 0.16425,
    "h": 271.9
  },
  "luminance": 0.03926
}

Semantic roles & 50–950 ramp

primary
#23298F
secondary
#BAB454
accent
#DB44E4
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #23298F

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

Preview Lab → · Contrast checker → · Palette generator →

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