#232159#232159

#232159 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.098 H 279.9°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#232159
RGBrgb(35, 33, 89)
HSLhsl(242, 46%, 24%)
HSVhsv(242, 63%, 35%)
CMYKcmyk(60.7%, 62.9%, 0%, 65.1%)
CIE-LABlab(16.34, 19.33, -33.59)
CIE-LCHlch(16.34, 38.76, 299.91°)
OKLaboklab(28.66% 0.0167 -0.0964)
OKLCHoklch(28.66% 0.098 279.9)
XYZxyz(3.0396, 2.1661, 9.7072)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232159 #575921
analogous
#213B59 #232159 #3F2159
triadic
#232159 #592321 #215923
tetradic
#232159 #59213B #575921 #21593F
square
#232159 #59213B #575921 #21593F
split-complementary
#232159 #593F21 #3B5921
monochromatic
#090816 #11102C #232159 #353286 #4642B2

Accessibility & contrast

On white

14.65
#232159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#232159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232159
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232159#FFFFFF#000000##FFFFFF
##2321591.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#002658
Tritanopia (blue-blind)
#072E39
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #232159;
/* rgb */ color: rgb(35, 33, 89);
/* oklch */ color: oklch(28.7% 0.098 279.9);
Tailwind
colors: {
  custom: {
    50: '#645c88',
    500: '#232159',
    950: '#000000',
  },
}
SCSS
$custom: #232159;
$custom-light: #645c88;
$custom-dark: #000000;
JSON
{
  "hex": "#232159",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 242.143,
    "s": 45.902,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28662,
    "c": 0.0978,
    "h": 279.9
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#232159
secondary
#8B8D49
accent
#D652D1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040B
muted
#7A797C

Preview Lab

Preview with #232159

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

Preview Lab → · Contrast checker → · Palette generator →

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