#23297C#23297C

#23297C is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.138 H 273.0°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#23297C
RGBrgb(35, 41, 124)
HSLhsl(236, 56%, 31%)
HSVhsv(236, 72%, 49%)
CMYKcmyk(71.8%, 66.9%, 0%, 51.4%)
CIE-LABlab(21.57, 26.92, -47.86)
CIE-LCHlch(21.57, 54.91, 299.36°)
OKLaboklab(33.48% 0.0074 -0.1382)
OKLCHoklch(33.48% 0.138 273)
XYZxyz(5.1229, 3.3979, 19.4508)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23297C #7C7623
analogous
#23557C #23297C #49237C
triadic
#23297C #7C2329 #297C23
tetradic
#23297C #7C2355 #7C7623 #237C49
square
#23297C #7C2355 #7C7623 #237C49
split-complementary
#23297C #7C4923 #557C23
monochromatic
#08091D #16194C #23297C #3039AC #4D55CD

Accessibility & contrast

On white

12.50
#23297C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#23297C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23297C
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23297C#FFFFFF#000000##FFFFFF
##23297C1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #23297c;
/* rgb */ color: rgb(35, 41, 124);
/* oklch */ color: oklch(33.5% 0.138 273.0);
Tailwind
colors: {
  custom: {
    50: '#6b63a3',
    500: '#23297c',
    950: '#000000',
  },
}
SCSS
$custom: #23297c;
$custom-light: #6b63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#23297c",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 124
  },
  "hsl": {
    "h": 235.955,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33481,
    "c": 0.13839,
    "h": 273
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

primary
#23297C
secondary
#AFA84C
accent
#D549DF
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #23297C

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

Preview Lab → · Contrast checker → · Palette generator →

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