#232138#232138

#232138 is a dark, muted blue. Relative luminance 0.017; OKLCH L 26.2% C 0.043 H 287.0°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#232138
RGBrgb(35, 33, 56)
HSLhsl(245, 26%, 17%)
HSVhsv(245, 41%, 22%)
CMYKcmyk(37.5%, 41.1%, 0%, 78%)
CIE-LABlab(14.00, 7.56, -14.60)
CIE-LCHlch(14.00, 16.44, 297.39°)
OKLaboklab(26.16% 0.0125 -0.0407)
OKLCHoklch(26.16% 0.043 287)
XYZxyz(1.9506, 1.7305, 3.9719)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232138 #363821
analogous
#212B38 #232138 #2E2138
triadic
#232138 #382321 #213823
tetradic
#232138 #38212B #363821 #21382E
square
#232138 #38212B #363821 #21382E
split-complementary
#232138 #382E21 #2B3821
monochromatic
#0C0B13 #0C0B13 #232138 #3B385F #534E85

Accessibility & contrast

On white

15.60
#232138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#232138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232138
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232138#FFFFFF#000000##FFFFFF
##2321381.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2439
Deuteranopia (green-blind)
#1A2337
Tritanopia (blue-blind)
#1E2529
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #232138;
/* rgb */ color: rgb(35, 33, 56);
/* oklch */ color: oklch(26.2% 0.043 287.0);
Tailwind
colors: {
  custom: {
    50: '#5e5c6e',
    500: '#232138',
    950: '#000000',
  },
}
SCSS
$custom: #232138;
$custom-light: #5e5c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#232138",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 245.217,
    "s": 25.843,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26157,
    "c": 0.0426,
    "h": 287
  },
  "luminance": 0.01731
}

Semantic roles & 50–950 ramp

primary
#232138
secondary
#686B4A
accent
#C266BA
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#040407
muted
#79797A

Preview Lab

Preview with #232138

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

Preview Lab → · Contrast checker → · Palette generator →

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