#232779#232779

#232779 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.137 H 273.8°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#232779
RGBrgb(35, 39, 121)
HSLhsl(237, 55%, 31%)
HSVhsv(237, 71%, 47%)
CMYKcmyk(71.1%, 67.8%, 0%, 52.5%)
CIE-LABlab(20.78, 27.14, -47.24)
CIE-LCHlch(20.78, 54.49, 299.88°)
OKLaboklab(32.82% 0.0092 -0.1364)
OKLCHoklch(32.82% 0.137 273.8)
XYZxyz(4.8687, 3.1884, 18.4443)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232779 #797523
analogous
#235279 #232779 #4A2379
triadic
#232779 #792327 #277923
tetradic
#232779 #792352 #797523 #23794A
square
#232779 #792352 #797523 #23794A
split-complementary
#232779 #794A23 #527923
monochromatic
#08081A #15184A #232779 #3136A8 #4B51CB

Accessibility & contrast

On white

12.82
#232779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232779
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232779#FFFFFF#000000##FFFFFF
##2327791.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #232779;
/* rgb */ color: rgb(35, 39, 121);
/* oklch */ color: oklch(32.8% 0.137 273.8);
Tailwind
colors: {
  custom: {
    50: '#6b61a1',
    500: '#232779',
    950: '#000000',
  },
}
SCSS
$custom: #232779;
$custom-light: #6b61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#232779",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 237.209,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32818,
    "c": 0.13671,
    "h": 273.8
  },
  "luminance": 0.03189
}

Semantic roles & 50–950 ramp

primary
#232779
secondary
#ACA74C
accent
#D849DE
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #232779

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

Preview Lab → · Contrast checker → · Palette generator →

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