#232156#232156

#232156 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.4% C 0.093 H 280.4°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#232156
RGBrgb(35, 33, 86)
HSLhsl(242, 45%, 23%)
HSVhsv(242, 62%, 34%)
CMYKcmyk(59.3%, 61.6%, 0%, 66.3%)
CIE-LABlab(16.09, 18.22, -31.98)
CIE-LCHlch(16.09, 36.81, 299.67°)
OKLaboklab(28.4% 0.0167 -0.0916)
OKLCHoklch(28.4% 0.093 280.4)
XYZxyz(2.9162, 2.1167, 9.0572)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232156 #545621
analogous
#213956 #232156 #3D2156
triadic
#232156 #562321 #215623
tetradic
#232156 #562139 #545621 #21563D
square
#232156 #562139 #545621 #21563D
split-complementary
#232156 #563D21 #395621
monochromatic
#090816 #11102A #232156 #353282 #4743AE

Accessibility & contrast

On white

14.75
#232156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#232156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232156
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232156#FFFFFF#000000##FFFFFF
##2321561.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#0B2D38
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #232156;
/* rgb */ color: rgb(35, 33, 86);
/* oklch */ color: oklch(28.4% 0.093 280.4);
Tailwind
colors: {
  custom: {
    50: '#635c86',
    500: '#232156',
    950: '#000000',
  },
}
SCSS
$custom: #232156;
$custom-light: #635c86;
$custom-dark: #000000;
JSON
{
  "hex": "#232156",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 242.264,
    "s": 44.538,
    "l": 23.333
  },
  "oklch": {
    "l": 0.284,
    "c": 0.09313,
    "h": 280.4
  },
  "luminance": 0.02117
}

Semantic roles & 50–950 ramp

primary
#232156
secondary
#888A49
accent
#D454CF
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #232156

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

Preview Lab → · Contrast checker → · Palette generator →

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