#232495#232495

#232495 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.177 H 272.3°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#232495
RGBrgb(35, 36, 149)
HSLhsl(239, 62%, 36%)
HSVhsv(239, 77%, 58%)
CMYKcmyk(76.5%, 75.8%, 0%, 41.6%)
CIE-LABlab(22.96, 39.10, -61.22)
CIE-LCHlch(22.96, 72.64, 302.57°)
OKLaboklab(35.25% 0.007 -0.1772)
OKLCHoklch(35.25% 0.177 272.3)
XYZxyz(6.7470, 3.7883, 28.8036)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232495 #959423
analogous
#235D95 #232495 #5B2395
triadic
#232495 #952324 #249523
tetradic
#232495 #95235D #959423 #23955B
square
#232495 #95235D #959423 #23955B
split-complementary
#232495 #955B23 #5D9523
monochromatic
#0C0C32 #171863 #232495 #2F30C7 #5A5BD8

Accessibility & contrast

On white

11.95
#232495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#232495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232495
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232495#FFFFFF#000000##FFFFFF
##2324951.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003193
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #232495;
/* rgb */ color: rgb(35, 36, 149);
/* oklch */ color: oklch(35.2% 0.177 272.3);
Tailwind
colors: {
  custom: {
    50: '#7260b5',
    500: '#232495',
    950: '#000000',
  },
}
SCSS
$custom: #232495;
$custom-light: #7260b5;
$custom-dark: #000000;
JSON
{
  "hex": "#232495",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 239.474,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35246,
    "c": 0.17733,
    "h": 272.3
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#232495
secondary
#BDBC57
accent
#E443E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232495

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

Preview Lab → · Contrast checker → · Palette generator →

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