#232979#232979

#232979 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.134 H 273.2°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#232979
RGBrgb(35, 41, 121)
HSLhsl(236, 55%, 31%)
HSVhsv(236, 71%, 47%)
CMYKcmyk(71.1%, 66.1%, 0%, 52.5%)
CIE-LABlab(21.29, 25.79, -46.41)
CIE-LCHlch(21.29, 53.09, 299.07°)
OKLaboklab(33.19% 0.0076 -0.1339)
OKLCHoklch(33.19% 0.134 273.2)
XYZxyz(4.9361, 3.3232, 18.4668)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232979 #797323
analogous
#235479 #232979 #482379
triadic
#232979 #792329 #297923
tetradic
#232979 #792354 #797323 #237948
square
#232979 #792354 #797323 #237948
split-complementary
#232979 #794823 #547923
monochromatic
#08091A #15194A #232979 #3139A8 #4B54CB

Accessibility & contrast

On white

12.61
#232979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#232979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232979
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232979#FFFFFF#000000##FFFFFF
##2329791.0012.611.6612.61
#FFFFFF12.611.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232979;
/* rgb */ color: rgb(35, 41, 121);
/* oklch */ color: oklch(33.2% 0.134 273.2);
Tailwind
colors: {
  custom: {
    50: '#6a62a0',
    500: '#232979',
    950: '#000000',
  },
}
SCSS
$custom: #232979;
$custom-light: #6a62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#232979",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 235.814,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33192,
    "c": 0.13414,
    "h": 273.2
  },
  "luminance": 0.03324
}

Semantic roles & 50–950 ramp

primary
#232979
secondary
#ACA54C
accent
#D449DE
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #232979

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

Preview Lab → · Contrast checker → · Palette generator →

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