#232140#232140

#232140 is a dark, muted blue. Relative luminance 0.018; OKLCH L 26.7% C 0.057 H 284.8°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#232140
RGBrgb(35, 33, 64)
HSLhsl(244, 32%, 19%)
HSVhsv(244, 48%, 25%)
CMYKcmyk(45.3%, 48.4%, 0%, 74.9%)
CIE-LABlab(14.49, 10.27, -19.47)
CIE-LCHlch(14.49, 22.01, 297.81°)
OKLaboklab(26.68% 0.0145 -0.0549)
OKLCHoklch(26.68% 0.057 284.8)
XYZxyz(2.1621, 1.8151, 5.0859)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232140 #3E4021
analogous
#212F40 #232140 #332140
triadic
#232140 #402321 #214023
tetradic
#232140 #40212F #3E4021 #214033
square
#232140 #40212F #3E4021 #214033
split-complementary
#232140 #403321 #2F4021
monochromatic
#0B0A14 #0D0C18 #232140 #393668 #4F4B91

Accessibility & contrast

On white

15.41
#232140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#232140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232140
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232140#FFFFFF#000000##FFFFFF
##2321401.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162641
Deuteranopia (green-blind)
#15243F
Tritanopia (blue-blind)
#1B272D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #232140;
/* rgb */ color: rgb(35, 33, 64);
/* oklch */ color: oklch(26.7% 0.057 284.8);
Tailwind
colors: {
  custom: {
    50: '#5f5c75',
    500: '#232140',
    950: '#000000',
  },
}
SCSS
$custom: #232140;
$custom-light: #5f5c75;
$custom-dark: #000000;
JSON
{
  "hex": "#232140",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 243.871,
    "s": 31.959,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26682,
    "c": 0.05676,
    "h": 284.8
  },
  "luminance": 0.01815
}

Semantic roles & 50–950 ramp

primary
#232140
secondary
#717449
accent
#C860C1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#050408
muted
#79797B

Preview Lab

Preview with #232140

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

Preview Lab → · Contrast checker → · Palette generator →

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