#232579#232579

#232579 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.139 H 274.4°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#232579
RGBrgb(35, 37, 121)
HSLhsl(239, 55%, 31%)
HSVhsv(239, 71%, 47%)
CMYKcmyk(71.1%, 69.4%, 0%, 52.5%)
CIE-LABlab(20.28, 28.48, -48.06)
CIE-LCHlch(20.28, 55.86, 300.65°)
OKLaboklab(32.46% 0.0107 -0.1388)
OKLCHoklch(32.46% 0.139 274.4)
XYZxyz(4.8047, 3.0605, 18.4230)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232579 #797723
analogous
#235079 #232579 #4C2379
triadic
#232579 #792325 #257923
tetradic
#232579 #792350 #797723 #23794C
square
#232579 #792350 #797723 #23794C
split-complementary
#232579 #794C23 #507923
monochromatic
#08081A #15164A #232579 #3134A8 #4B4ECB

Accessibility & contrast

On white

13.03
#232579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#232579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232579
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232579#FFFFFF#000000##FFFFFF
##2325791.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #232579;
/* rgb */ color: rgb(35, 37, 121);
/* oklch */ color: oklch(32.5% 0.139 274.4);
Tailwind
colors: {
  custom: {
    50: '#6b60a1',
    500: '#232579',
    950: '#000000',
  },
}
SCSS
$custom: #232579;
$custom-light: #6b60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#232579",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 238.605,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32455,
    "c": 0.13921,
    "h": 274.4
  },
  "luminance": 0.03061
}

Semantic roles & 50–950 ramp

primary
#232579
secondary
#ACA94C
accent
#DB49DE
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #232579

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

Preview Lab → · Contrast checker → · Palette generator →

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