#232873#232873

#232873 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.127 H 274.0°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#232873
RGBrgb(35, 40, 115)
HSLhsl(236, 53%, 29%)
HSVhsv(236, 70%, 45%)
CMYKcmyk(69.6%, 65.2%, 0%, 54.9%)
CIE-LABlab(20.49, 24.21, -43.88)
CIE-LCHlch(20.49, 50.12, 298.89°)
OKLaboklab(32.43% 0.0088 -0.1265)
OKLCHoklch(32.43% 0.127 274)
XYZxyz(4.5454, 3.1123, 16.5775)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232873 #736E23
analogous
#235073 #232873 #462373
triadic
#232873 #732328 #287323
tetradic
#232873 #732350 #736E23 #237346
square
#232873 #732350 #736E23 #237346
split-complementary
#232873 #734623 #507323
monochromatic
#070817 #151844 #232873 #3138A2 #4951C8

Accessibility & contrast

On white

12.94
#232873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#232873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232873
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232873#FFFFFF#000000##FFFFFF
##2328731.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #232873;
/* rgb */ color: rgb(35, 40, 115);
/* oklch */ color: oklch(32.4% 0.127 274.0);
Tailwind
colors: {
  custom: {
    50: '#69629c',
    500: '#232873',
    950: '#000000',
  },
}
SCSS
$custom: #232873;
$custom-light: #69629c;
$custom-dark: #000000;
JSON
{
  "hex": "#232873",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 236.25,
    "s": 53.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32431,
    "c": 0.12684,
    "h": 274
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#232873
secondary
#A6A04C
accent
#D44BDD
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #232873

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

Preview Lab → · Contrast checker → · Palette generator →

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