#23298E#23298E

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

Color values

HEX#23298E
RGBrgb(35, 41, 142)
HSLhsl(237, 60%, 35%)
HSVhsv(237, 75%, 56%)
CMYKcmyk(75.4%, 71.1%, 0%, 44.3%)
CIE-LABlab(23.32, 33.57, -56.29)
CIE-LCHlch(23.32, 65.54, 300.81°)
OKLaboklab(35.29% 0.0055 -0.1628)
OKLCHoklch(35.29% 0.163 271.9)
XYZxyz(6.3669, 3.8955, 26.0023)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23298E #8E8823
analogous
#235E8E #23298E #53238E
triadic
#23298E #8E2329 #298E23
tetradic
#23298E #8E235E #8E8823 #238E53
square
#23298E #8E235E #8E8823 #238E53
split-complementary
#23298E #8E5323 #5E8E23
monochromatic
#0B0D2C #171B5D #23298E #2F37BF #565DD5

Accessibility & contrast

On white

11.80
#23298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#23298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23298E
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23298E#FFFFFF#000000##FFFFFF
##23298E1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #23298e;
/* rgb */ color: rgb(35, 41, 142);
/* oklch */ color: oklch(35.3% 0.163 271.9);
Tailwind
colors: {
  custom: {
    50: '#7063b0',
    500: '#23298e',
    950: '#000000',
  },
}
SCSS
$custom: #23298e;
$custom-light: #7063b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23298e",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 236.636,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35286,
    "c": 0.16292,
    "h": 271.9
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23298E

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

Preview Lab → · Contrast checker → · Palette generator →

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