#232173#232173

#232173 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.136 H 276.1°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#232173
RGBrgb(35, 33, 115)
HSLhsl(241, 55%, 29%)
HSVhsv(241, 71%, 45%)
CMYKcmyk(69.6%, 71.3%, 0%, 54.9%)
CIE-LABlab(18.72, 28.91, -46.77)
CIE-LCHlch(18.72, 54.98, 301.72°)
OKLaboklab(31.15% 0.0145 -0.135)
OKLCHoklch(31.15% 0.136 276.1)
XYZxyz(4.3305, 2.6825, 16.5059)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232173 #717321
analogous
#214873 #232173 #4C2173
triadic
#232173 #732321 #217323
tetradic
#232173 #732148 #717321 #21734C
square
#232173 #732148 #717321 #21734C
split-complementary
#232173 #734C21 #487321
monochromatic
#070718 #151343 #232173 #312FA3 #4845CA

Accessibility & contrast

On white

13.67
#232173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#232173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232173
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232173#FFFFFF#000000##FFFFFF
##2321731.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #232173;
/* rgb */ color: rgb(35, 33, 115);
/* oklch */ color: oklch(31.1% 0.136 276.1);
Tailwind
colors: {
  custom: {
    50: '#6a5d9c',
    500: '#232173',
    950: '#000000',
  },
}
SCSS
$custom: #232173;
$custom-light: #6a5d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#232173",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 241.463,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31146,
    "c": 0.13581,
    "h": 276.1
  },
  "luminance": 0.02683
}

Semantic roles & 50–950 ramp

primary
#232173
secondary
#A4A649
accent
#DF49DB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #232173

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

Preview Lab → · Contrast checker → · Palette generator →

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