#233172#233172

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

Color values

HEX#233172
RGBrgb(35, 49, 114)
HSLhsl(229, 53%, 29%)
HSVhsv(229, 69%, 45%)
CMYKcmyk(69.3%, 57%, 0%, 55.3%)
CIE-LABlab(22.89, 17.54, -39.34)
CIE-LCHlch(22.89, 43.07, 294.03°)
OKLaboklab(34.19% 0.0004 -0.1131)
OKLCHoklch(34.19% 0.113 270.2)
XYZxyz(4.8277, 3.7684, 16.3893)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233172 #726423
analogous
#235972 #233172 #3D2372
triadic
#233172 #722331 #317223
tetradic
#233172 #722359 #726423 #23723D
square
#233172 #722359 #726423 #23723D
split-complementary
#233172 #723D23 #597223
monochromatic
#070A17 #151D43 #233172 #3145A1 #485FC7

Accessibility & contrast

On white

11.97
#233172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#233172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233172
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233172#FFFFFF#000000##FFFFFF
##2331721.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013A74
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #233172;
/* rgb */ color: rgb(35, 49, 114);
/* oklch */ color: oklch(34.2% 0.113 270.2);
Tailwind
colors: {
  custom: {
    50: '#68689b',
    500: '#233172',
    950: '#000000',
  },
}
SCSS
$custom: #233172;
$custom-light: #68689b;
$custom-dark: #000000;
JSON
{
  "hex": "#233172",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 229.367,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34191,
    "c": 0.11307,
    "h": 270.2
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#233172
secondary
#A5954C
accent
#C34BDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #233172

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

Preview Lab → · Contrast checker → · Palette generator →

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