#233152#233152

#233152 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.8% C 0.062 H 265.6°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#233152
RGBrgb(35, 49, 82)
HSLhsl(222, 40%, 23%)
HSVhsv(222, 57%, 32%)
CMYKcmyk(57.3%, 40.2%, 0%, 67.8%)
CIE-LABlab(20.68, 5.22, -21.95)
CIE-LCHlch(20.68, 22.56, 283.38°)
OKLaboklab(31.8% -0.0048 -0.062)
OKLCHoklch(31.8% 0.062 265.6)
XYZxyz(3.3139, 3.1629, 8.4169)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233152 #524423
analogous
#234852 #233152 #2C2352
triadic
#233152 #522331 #315223
tetradic
#233152 #522348 #524423 #23522C
square
#233152 #522348 #524423 #23522C
split-complementary
#233152 #522C23 #485223
monochromatic
#090D15 #111727 #233152 #354B7D #4864A8

Accessibility & contrast

On white

12.86
#233152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#233152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233152
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233152#FFFFFF#000000##FFFFFF
##2331521.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243453
Deuteranopia (green-blind)
#1F3051
Tritanopia (blue-blind)
#0C383D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #233152;
/* rgb */ color: rgb(35, 49, 82);
/* oklch */ color: oklch(31.8% 0.062 265.6);
Tailwind
colors: {
  custom: {
    50: '#626883',
    500: '#233152',
    950: '#000000',
  },
}
SCSS
$custom: #233152;
$custom-light: #626883;
$custom-dark: #000000;
JSON
{
  "hex": "#233152",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 82
  },
  "hsl": {
    "h": 222.128,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.318,
    "c": 0.0622,
    "h": 265.6
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#233152
secondary
#86744B
accent
#AC58D0
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060A
muted
#797A7C

Preview Lab

Preview with #233152

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

Preview Lab → · Contrast checker → · Palette generator →

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