#232480#232480

#232480 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.150 H 274.0°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#232480
RGBrgb(35, 36, 128)
HSLhsl(239, 57%, 32%)
HSVhsv(239, 73%, 50%)
CMYKcmyk(72.7%, 71.9%, 0%, 49.8%)
CIE-LABlab(20.74, 31.68, -51.76)
CIE-LCHlch(20.74, 60.69, 301.47°)
OKLaboklab(33% 0.0105 -0.1496)
OKLCHoklch(33% 0.15 274)
XYZxyz(5.2190, 3.1771, 20.7561)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232480 #807F23
analogous
#235380 #232480 #512380
triadic
#232480 #802324 #248023
tetradic
#232480 #802353 #807F23 #238051
square
#232480 #802353 #807F23 #238051
split-complementary
#232480 #805123 #538023
monochromatic
#090920 #161650 #232480 #3032B0 #4F50CF

Accessibility & contrast

On white

12.84
#232480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#232480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232480
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232480#FFFFFF#000000##FFFFFF
##2324801.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232480;
/* rgb */ color: rgb(35, 36, 128);
/* oklch */ color: oklch(33.0% 0.150 274.0);
Tailwind
colors: {
  custom: {
    50: '#6d5fa6',
    500: '#232480',
    950: '#000000',
  },
}
SCSS
$custom: #232480;
$custom-light: #6d5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#232480",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 128
  },
  "hsl": {
    "h": 239.355,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32996,
    "c": 0.14999,
    "h": 274
  },
  "luminance": 0.03178
}

Semantic roles & 50–950 ramp

primary
#232480
secondary
#B2B14D
accent
#DF47E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #232480

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

Preview Lab → · Contrast checker → · Palette generator →

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