#232080#232080

#232080 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.154 H 274.8°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#232080
RGBrgb(35, 32, 128)
HSLhsl(242, 60%, 31%)
HSVhsv(242, 75%, 50%)
CMYKcmyk(72.7%, 75%, 0%, 49.8%)
CIE-LABlab(19.84, 34.18, -53.25)
CIE-LCHlch(19.84, 63.27, 302.70°)
OKLaboklab(32.35% 0.013 -0.1539)
OKLCHoklch(32.35% 0.155 274.8)
XYZxyz(5.1046, 2.9484, 20.7180)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232080 #7D8020
analogous
#204D80 #232080 #532080
triadic
#232080 #802320 #208023
tetradic
#232080 #80204D #7D8020 #208053
square
#232080 #80204D #7D8020 #208053
split-complementary
#232080 #805320 #4D8020
monochromatic
#08081E #16144F #232080 #302CB1 #4D49D1

Accessibility & contrast

On white

13.21
#232080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#232080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232080
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232080#FFFFFF#000000##FFFFFF
##2320801.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #232080;
/* rgb */ color: rgb(35, 32, 128);
/* oklch */ color: oklch(32.3% 0.154 274.8);
Tailwind
colors: {
  custom: {
    50: '#6d5da6',
    500: '#232080',
    950: '#000000',
  },
}
SCSS
$custom: #232080;
$custom-light: #6d5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#232080",
  "rgb": {
    "r": 35,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 241.875,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32349,
    "c": 0.1545,
    "h": 274.8
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#232080
secondary
#AFB349
accent
#E345DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #232080

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

Preview Lab → · Contrast checker → · Palette generator →

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