#232A79#232A79

#232A79 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.133 H 272.9°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#232A79
RGBrgb(35, 42, 121)
HSLhsl(235, 55%, 31%)
HSVhsv(235, 71%, 47%)
CMYKcmyk(71.1%, 65.3%, 0%, 52.5%)
CIE-LABlab(21.55, 25.11, -45.98)
CIE-LCHlch(21.55, 52.39, 298.64°)
OKLaboklab(33.38% 0.0068 -0.1327)
OKLCHoklch(33.38% 0.133 272.9)
XYZxyz(4.9711, 3.3933, 18.4784)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A79 #797223
analogous
#235579 #232A79 #472379
triadic
#232A79 #79232A #2A7923
tetradic
#232A79 #792355 #797223 #237947
square
#232A79 #792355 #797223 #237947
split-complementary
#232A79 #794723 #557923
monochromatic
#08091A #151A4A #232A79 #313AA8 #4B56CB

Accessibility & contrast

On white

12.51
#232A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#232A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A79
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A79#FFFFFF#000000##FFFFFF
##232A791.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232a79;
/* rgb */ color: rgb(35, 42, 121);
/* oklch */ color: oklch(33.4% 0.133 272.9);
Tailwind
colors: {
  custom: {
    50: '#6a63a0',
    500: '#232a79',
    950: '#000000',
  },
}
SCSS
$custom: #232a79;
$custom-light: #6a63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#232a79",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 235.116,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33383,
    "c": 0.13285,
    "h": 272.9
  },
  "luminance": 0.03394
}

Semantic roles & 50–950 ramp

primary
#232A79
secondary
#ACA44C
accent
#D249DE
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #232A79

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

Preview Lab → · Contrast checker → · Palette generator →

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