#232B79#232B79

#232B79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.132 H 272.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#232B79
RGBrgb(35, 43, 121)
HSLhsl(234, 55%, 31%)
HSVhsv(234, 71%, 47%)
CMYKcmyk(71.1%, 64.5%, 0%, 52.5%)
CIE-LABlab(21.82, 24.43, -45.55)
CIE-LCHlch(21.82, 51.69, 298.20°)
OKLaboklab(33.58% 0.0059 -0.1314)
OKLCHoklch(33.58% 0.132 272.6)
XYZxyz(5.0070, 3.4651, 18.4904)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232B79 #797123
analogous
#235679 #232B79 #462379
triadic
#232B79 #79232B #2B7923
tetradic
#232B79 #792356 #797123 #237946
square
#232B79 #792356 #797123 #237946
split-complementary
#232B79 #794623 #567923
monochromatic
#08091A #151A4A #232B79 #313CA8 #4B57CB

Accessibility & contrast

On white

12.40
#232B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#232B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232B79
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232B79#FFFFFF#000000##FFFFFF
##232B791.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232b79;
/* rgb */ color: rgb(35, 43, 121);
/* oklch */ color: oklch(33.6% 0.132 272.6);
Tailwind
colors: {
  custom: {
    50: '#6a64a0',
    500: '#232b79',
    950: '#000000',
  },
}
SCSS
$custom: #232b79;
$custom-light: #6a64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#232b79",
  "rgb": {
    "r": 35,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 234.419,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33576,
    "c": 0.13154,
    "h": 272.6
  },
  "luminance": 0.03466
}

Semantic roles & 50–950 ramp

primary
#232B79
secondary
#ACA34C
accent
#D149DE
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #232B79

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

Preview Lab → · Contrast checker → · Palette generator →

#232B79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva