#232154#232154

#232154 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.2% C 0.090 H 280.7°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#232154
RGBrgb(35, 33, 84)
HSLhsl(242, 44%, 23%)
HSVhsv(242, 61%, 33%)
CMYKcmyk(58.3%, 60.7%, 0%, 67.1%)
CIE-LABlab(15.93, 17.48, -30.89)
CIE-LCHlch(15.93, 35.49, 299.50°)
OKLaboklab(28.23% 0.0167 -0.0884)
OKLCHoklch(28.23% 0.09 280.7)
XYZxyz(2.8367, 2.0850, 8.6387)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232154 #525421
analogous
#213854 #232154 #3C2154
triadic
#232154 #542321 #215423
tetradic
#232154 #542138 #525421 #21543C
square
#232154 #542138 #525421 #21543C
split-complementary
#232154 #543C21 #385421
monochromatic
#090916 #111028 #232154 #353280 #4844AC

Accessibility & contrast

On white

14.82
#232154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232154
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232154#FFFFFF#000000##FFFFFF
##2321541.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012A56
Deuteranopia (green-blind)
#002653
Tritanopia (blue-blind)
#0D2D36
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #232154;
/* rgb */ color: rgb(35, 33, 84);
/* oklch */ color: oklch(28.2% 0.090 280.7);
Tailwind
colors: {
  custom: {
    50: '#635c84',
    500: '#232154',
    950: '#000000',
  },
}
SCSS
$custom: #232154;
$custom-light: #635c84;
$custom-dark: #000000;
JSON
{
  "hex": "#232154",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 242.353,
    "s": 43.59,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28229,
    "c": 0.08998,
    "h": 280.7
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#232154
secondary
#868849
accent
#D354CE
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040B
muted
#7A797C

Preview Lab

Preview with #232154

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

Preview Lab → · Contrast checker → · Palette generator →

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