#232147#232147

#232147 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.069 H 283.2°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#232147
RGBrgb(35, 33, 71)
HSLhsl(243, 37%, 20%)
HSVhsv(243, 54%, 28%)
CMYKcmyk(50.7%, 53.5%, 0%, 72.2%)
CIE-LABlab(14.95, 12.74, -23.58)
CIE-LCHlch(14.95, 26.80, 298.38°)
OKLaboklab(27.19% 0.0157 -0.0669)
OKLCHoklch(27.19% 0.069 283.2)
XYZxyz(2.3740, 1.8999, 6.2016)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232147 #454721
analogous
#213247 #232147 #362147
triadic
#232147 #472321 #214723
tetradic
#232147 #472132 #454721 #214736
square
#232147 #472132 #454721 #214736
split-complementary
#232147 #473621 #324721
monochromatic
#0A0A15 #0E0E1D #232147 #383471 #4C489B

Accessibility & contrast

On white

15.22
#232147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#232147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232147
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232147#FFFFFF#000000##FFFFFF
##2321471.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112748
Deuteranopia (green-blind)
#0F2446
Tritanopia (blue-blind)
#172930
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #232147;
/* rgb */ color: rgb(35, 33, 71);
/* oklch */ color: oklch(27.2% 0.069 283.2);
Tailwind
colors: {
  custom: {
    50: '#615c7a',
    500: '#232147',
    950: '#000000',
  },
}
SCSS
$custom: #232147;
$custom-light: #615c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#232147",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 243.158,
    "s": 36.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27187,
    "c": 0.06875,
    "h": 283.2
  },
  "luminance": 0.019
}

Semantic roles & 50–950 ramp

primary
#232147
secondary
#787B49
accent
#CD5BC7
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050409
muted
#79797B

Preview Lab

Preview with #232147

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

Preview Lab → · Contrast checker → · Palette generator →

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