#232393#232393

#232393 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.176 H 272.5°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#232393
RGBrgb(35, 35, 147)
HSLhsl(240, 62%, 36%)
HSVhsv(240, 76%, 58%)
CMYKcmyk(76.2%, 76.2%, 0%, 42.4%)
CIE-LABlab(22.53, 39.00, -60.69)
CIE-LCHlch(22.53, 72.14, 302.72°)
OKLaboklab(34.88% 0.0078 -0.1756)
OKLCHoklch(34.88% 0.176 272.5)
XYZxyz(6.5589, 3.6653, 27.9599)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232393 #939323
analogous
#235B93 #232393 #5B2393
triadic
#232393 #932323 #239323
tetradic
#232393 #93235B #939323 #23935B
square
#232393 #93235B #939323 #23935B
split-complementary
#232393 #935B23 #5B9323
monochromatic
#0B0B30 #171762 #232393 #2F2FC4 #5959D7

Accessibility & contrast

On white

12.12
#232393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#232393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232393
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232393#FFFFFF#000000##FFFFFF
##2323931.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232393;
/* rgb */ color: rgb(35, 35, 147);
/* oklch */ color: oklch(34.9% 0.176 272.5);
Tailwind
colors: {
  custom: {
    50: '#725fb4',
    500: '#232393',
    950: '#000000',
  },
}
SCSS
$custom: #232393;
$custom-light: #725fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#232393",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 240,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34879,
    "c": 0.1758,
    "h": 272.5
  },
  "luminance": 0.03666
}

Semantic roles & 50–950 ramp

primary
#232393
secondary
#BCBC56
accent
#E543E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232393

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

Preview Lab → · Contrast checker → · Palette generator →

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