#232879#232879

#232879 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.135 H 273.5°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#232879
RGBrgb(35, 40, 121)
HSLhsl(237, 55%, 31%)
HSVhsv(237, 71%, 47%)
CMYKcmyk(71.1%, 66.9%, 0%, 52.5%)
CIE-LABlab(21.04, 26.47, -46.83)
CIE-LCHlch(21.04, 53.79, 299.48°)
OKLaboklab(33% 0.0084 -0.1352)
OKLCHoklch(33% 0.135 273.5)
XYZxyz(4.9020, 3.2549, 18.4554)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232879 #797423
analogous
#235379 #232879 #492379
triadic
#232879 #792328 #287923
tetradic
#232879 #792353 #797423 #237949
square
#232879 #792353 #797423 #237949
split-complementary
#232879 #794923 #537923
monochromatic
#08091A #15184A #232879 #3138A8 #4B53CB

Accessibility & contrast

On white

12.72
#232879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232879
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232879#FFFFFF#000000##FFFFFF
##2328791.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #232879;
/* rgb */ color: rgb(35, 40, 121);
/* oklch */ color: oklch(33.0% 0.135 273.5);
Tailwind
colors: {
  custom: {
    50: '#6b62a0',
    500: '#232879',
    950: '#000000',
  },
}
SCSS
$custom: #232879;
$custom-light: #6b62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#232879",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 236.512,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33003,
    "c": 0.13543,
    "h": 273.5
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#232879
secondary
#ACA64C
accent
#D649DE
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #232879

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

Preview Lab → · Contrast checker → · Palette generator →

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