#23297A#23297A

#23297A is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.136 H 273.2°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#23297A
RGBrgb(35, 41, 122)
HSLhsl(236, 55%, 31%)
HSVhsv(236, 71%, 48%)
CMYKcmyk(71.3%, 66.4%, 0%, 52.2%)
CIE-LABlab(21.39, 26.17, -46.89)
CIE-LCHlch(21.39, 53.70, 299.17°)
OKLaboklab(33.29% 0.0075 -0.1354)
OKLCHoklch(33.29% 0.136 273.2)
XYZxyz(4.9978, 3.3479, 18.7914)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23297A #7A7423
analogous
#23547A #23297A #48237A
triadic
#23297A #7A2329 #297A23
tetradic
#23297A #7A2354 #7A7423 #237A48
square
#23297A #7A2354 #7A7423 #237A48
split-complementary
#23297A #7A4823 #547A23
monochromatic
#08091B #15194A #23297A #3139AA #4C55CC

Accessibility & contrast

On white

12.58
#23297A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#23297A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23297A
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23297A#FFFFFF#000000##FFFFFF
##23297A1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #23297a;
/* rgb */ color: rgb(35, 41, 122);
/* oklch */ color: oklch(33.3% 0.136 273.2);
Tailwind
colors: {
  custom: {
    50: '#6b63a1',
    500: '#23297a',
    950: '#000000',
  },
}
SCSS
$custom: #23297a;
$custom-light: #6b63a1;
$custom-dark: #000000;
JSON
{
  "hex": "#23297a",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 122
  },
  "hsl": {
    "h": 235.862,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33288,
    "c": 0.13557,
    "h": 273.2
  },
  "luminance": 0.03348
}

Semantic roles & 50–950 ramp

primary
#23297A
secondary
#ADA64C
accent
#D449DF
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #23297A

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

Preview Lab → · Contrast checker → · Palette generator →

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