#232240#232240

#232240 is a dark, muted blue. Relative luminance 0.019; OKLCH L 26.9% C 0.055 H 283.6°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#232240
RGBrgb(35, 34, 64)
HSLhsl(242, 31%, 19%)
HSVhsv(242, 47%, 25%)
CMYKcmyk(45.3%, 46.9%, 0%, 74.9%)
CIE-LABlab(14.80, 9.54, -18.97)
CIE-LCHlch(14.80, 21.23, 296.68°)
OKLaboklab(26.92% 0.0129 -0.0534)
OKLCHoklch(26.92% 0.055 283.6)
XYZxyz(2.1903, 1.8715, 5.0953)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232240 #3F4022
analogous
#223040 #232240 #322240
triadic
#232240 #402322 #224023
tetradic
#232240 #402230 #3F4022 #224032
square
#232240 #402230 #3F4022 #224032
split-complementary
#232240 #403222 #304022
monochromatic
#0B0B14 #0D0D18 #232240 #393768 #4F4C90

Accessibility & contrast

On white

15.28
#232240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#232240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232240
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232240#FFFFFF#000000##FFFFFF
##2322401.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182641
Deuteranopia (green-blind)
#16243F
Tritanopia (blue-blind)
#1B282D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #232240;
/* rgb */ color: rgb(35, 34, 64);
/* oklch */ color: oklch(26.9% 0.055 283.6);
Tailwind
colors: {
  custom: {
    50: '#5f5c75',
    500: '#232240',
    950: '#000000',
  },
}
SCSS
$custom: #232240;
$custom-light: #5f5c75;
$custom-dark: #000000;
JSON
{
  "hex": "#232240",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 242,
    "s": 30.612,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26919,
    "c": 0.05497,
    "h": 283.6
  },
  "luminance": 0.01872
}

Semantic roles & 50–950 ramp

primary
#232240
secondary
#72734B
accent
#C761C3
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#050408
muted
#79797B

Preview Lab

Preview with #232240

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

Preview Lab → · Contrast checker → · Palette generator →

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