#232380#232380

#232380 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.151 H 274.2°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#232380
RGBrgb(35, 35, 128)
HSLhsl(240, 57%, 32%)
HSVhsv(240, 73%, 50%)
CMYKcmyk(72.7%, 72.7%, 0%, 49.8%)
CIE-LABlab(20.51, 32.32, -52.14)
CIE-LCHlch(20.51, 61.34, 301.79°)
OKLaboklab(32.83% 0.0111 -0.1507)
OKLCHoklch(32.83% 0.151 274.2)
XYZxyz(5.1892, 3.1174, 20.7461)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232380 #808023
analogous
#235280 #232380 #522380
triadic
#232380 #802323 #238023
tetradic
#232380 #802352 #808023 #238052
square
#232380 #802352 #808023 #238052
split-complementary
#232380 #805223 #528023
monochromatic
#090920 #161650 #232380 #3030B0 #4F4FCF

Accessibility & contrast

On white

12.93
#232380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#232380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232380
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232380#FFFFFF#000000##FFFFFF
##2323801.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #232380;
/* rgb */ color: rgb(35, 35, 128);
/* oklch */ color: oklch(32.8% 0.151 274.2);
Tailwind
colors: {
  custom: {
    50: '#6d5fa6',
    500: '#232380',
    950: '#000000',
  },
}
SCSS
$custom: #232380;
$custom-light: #6d5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#232380",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 240,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32829,
    "c": 0.15114,
    "h": 274.2
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#232380
secondary
#B2B24D
accent
#E047E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #232380

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

Preview Lab → · Contrast checker → · Palette generator →

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