#232973#232973

#232973 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.126 H 273.6°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#232973
RGBrgb(35, 41, 115)
HSLhsl(236, 53%, 29%)
HSVhsv(236, 70%, 45%)
CMYKcmyk(69.6%, 64.3%, 0%, 54.9%)
CIE-LABlab(20.75, 23.52, -43.45)
CIE-LCHlch(20.75, 49.41, 298.43°)
OKLaboklab(32.63% 0.0079 -0.1253)
OKLCHoklch(32.63% 0.126 273.6)
XYZxyz(4.5796, 3.1806, 16.5889)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232973 #736D23
analogous
#235173 #232973 #452373
triadic
#232973 #732329 #297323
tetradic
#232973 #732351 #736D23 #237345
square
#232973 #732351 #736D23 #237345
split-complementary
#232973 #734523 #517323
monochromatic
#070817 #151844 #232973 #313AA2 #4952C8

Accessibility & contrast

On white

12.83
#232973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#232973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232973
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232973#FFFFFF#000000##FFFFFF
##2329731.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #232973;
/* rgb */ color: rgb(35, 41, 115);
/* oklch */ color: oklch(32.6% 0.126 273.6);
Tailwind
colors: {
  custom: {
    50: '#69629c',
    500: '#232973',
    950: '#000000',
  },
}
SCSS
$custom: #232973;
$custom-light: #69629c;
$custom-dark: #000000;
JSON
{
  "hex": "#232973",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 235.5,
    "s": 53.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32626,
    "c": 0.12551,
    "h": 273.6
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#232973
secondary
#A69F4C
accent
#D24BDD
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #232973

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

Preview Lab → · Contrast checker → · Palette generator →

#232973 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva