#232878#232878

#232878 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.134 H 273.6°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#232878
RGBrgb(35, 40, 120)
HSLhsl(236, 55%, 30%)
HSVhsv(236, 71%, 47%)
CMYKcmyk(70.8%, 66.7%, 0%, 52.9%)
CIE-LABlab(20.94, 26.10, -46.34)
CIE-LCHlch(20.94, 53.18, 299.39°)
OKLaboklab(32.91% 0.0084 -0.1337)
OKLCHoklch(32.91% 0.134 273.6)
XYZxyz(4.8410, 3.2305, 18.1341)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232878 #787323
analogous
#235278 #232878 #492378
triadic
#232878 #782328 #287823
tetradic
#232878 #782352 #787323 #237849
square
#232878 #782352 #787323 #237849
split-complementary
#232878 #784923 #527823
monochromatic
#070819 #151849 #232878 #3138A7 #4B52CA

Accessibility & contrast

On white

12.76
#232878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#232878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232878
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232878#FFFFFF#000000##FFFFFF
##2328781.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#002F76
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #232878;
/* rgb */ color: rgb(35, 40, 120);
/* oklch */ color: oklch(32.9% 0.134 273.6);
Tailwind
colors: {
  custom: {
    50: '#6a62a0',
    500: '#232878',
    950: '#000000',
  },
}
SCSS
$custom: #232878;
$custom-light: #6a62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#232878",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 120
  },
  "hsl": {
    "h": 236.471,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32907,
    "c": 0.13402,
    "h": 273.6
  },
  "luminance": 0.03231
}

Semantic roles & 50–950 ramp

primary
#232878
secondary
#ABA54C
accent
#D54ADE
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #232878

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

Preview Lab → · Contrast checker → · Palette generator →

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