#233173#233173

#233173 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.115 H 270.2°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#233173
RGBrgb(35, 49, 115)
HSLhsl(230, 53%, 29%)
HSVhsv(230, 70%, 45%)
CMYKcmyk(69.6%, 57.4%, 0%, 54.9%)
CIE-LABlab(22.97, 17.93, -39.85)
CIE-LCHlch(22.97, 43.70, 294.22°)
OKLaboklab(34.28% 0.0005 -0.1146)
OKLCHoklch(34.28% 0.115 270.2)
XYZxyz(4.8849, 3.7913, 16.6907)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233173 #736523
analogous
#235973 #233173 #3D2373
triadic
#233173 #732331 #317323
tetradic
#233173 #732359 #736523 #23733D
square
#233173 #732359 #736523 #23733D
split-complementary
#233173 #733D23 #597323
monochromatic
#070A17 #151D44 #233173 #3145A2 #495FC8

Accessibility & contrast

On white

11.94
#233173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#233173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233173
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233173#FFFFFF#000000##FFFFFF
##2331731.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B75
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #233173;
/* rgb */ color: rgb(35, 49, 115);
/* oklch */ color: oklch(34.3% 0.115 270.2);
Tailwind
colors: {
  custom: {
    50: '#68689c',
    500: '#233173',
    950: '#000000',
  },
}
SCSS
$custom: #233173;
$custom-light: #68689c;
$custom-dark: #000000;
JSON
{
  "hex": "#233173",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 229.5,
    "s": 53.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34275,
    "c": 0.11458,
    "h": 270.2
  },
  "luminance": 0.03792
}

Semantic roles & 50–950 ramp

primary
#233173
secondary
#A6964C
accent
#C34BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #233173

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

Preview Lab → · Contrast checker → · Palette generator →

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