#232980#232980

#232980 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.144 H 272.8°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#232980
RGBrgb(35, 41, 128)
HSLhsl(236, 57%, 32%)
HSVhsv(236, 73%, 50%)
CMYKcmyk(72.7%, 68%, 0%, 49.8%)
CIE-LABlab(21.95, 28.42, -49.78)
CIE-LCHlch(21.95, 57.32, 299.72°)
OKLaboklab(33.87% 0.007 -0.1438)
OKLCHoklch(33.87% 0.144 272.8)
XYZxyz(5.3810, 3.5012, 20.8101)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232980 #807A23
analogous
#235880 #232980 #4C2380
triadic
#232980 #802329 #298023
tetradic
#232980 #802358 #807A23 #23804C
square
#232980 #802358 #807A23 #23804C
split-complementary
#232980 #804C23 #588023
monochromatic
#090A20 #161A50 #232980 #3038B0 #4F57CF

Accessibility & contrast

On white

12.35
#232980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#232980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232980
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232980#FFFFFF#000000##FFFFFF
##2329801.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232980;
/* rgb */ color: rgb(35, 41, 128);
/* oklch */ color: oklch(33.9% 0.144 272.8);
Tailwind
colors: {
  custom: {
    50: '#6c63a6',
    500: '#232980',
    950: '#000000',
  },
}
SCSS
$custom: #232980;
$custom-light: #6c63a6;
$custom-dark: #000000;
JSON
{
  "hex": "#232980",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 236.129,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33871,
    "c": 0.14397,
    "h": 272.8
  },
  "luminance": 0.03502
}

Semantic roles & 50–950 ramp

primary
#232980
secondary
#B2AC4D
accent
#D647E0
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #232980

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

Preview Lab → · Contrast checker → · Palette generator →

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