#232A76#232A76

#232A76 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.129 H 273.1°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#232A76
RGBrgb(35, 42, 118)
HSLhsl(235, 54%, 30%)
HSVhsv(235, 70%, 46%)
CMYKcmyk(70.3%, 64.4%, 0%, 53.7%)
CIE-LABlab(21.29, 23.97, -44.51)
CIE-LCHlch(21.29, 50.55, 298.31°)
OKLaboklab(33.1% 0.0069 -0.1283)
OKLCHoklch(33.1% 0.129 273.1)
XYZxyz(4.7900, 3.3208, 17.5246)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A76 #766F23
analogous
#235376 #232A76 #462376
triadic
#232A76 #76232A #2A7623
tetradic
#232A76 #762353 #766F23 #237646
square
#232A76 #762353 #766F23 #237646
split-complementary
#232A76 #764623 #537623
monochromatic
#070818 #151947 #232A76 #313BA5 #4A55C9

Accessibility & contrast

On white

12.62
#232A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#232A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A76
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A76#FFFFFF#000000##FFFFFF
##232A761.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #232a76;
/* rgb */ color: rgb(35, 42, 118);
/* oklch */ color: oklch(33.1% 0.129 273.1);
Tailwind
colors: {
  custom: {
    50: '#6a639e',
    500: '#232a76',
    950: '#000000',
  },
}
SCSS
$custom: #232a76;
$custom-light: #6a639e;
$custom-dark: #000000;
JSON
{
  "hex": "#232a76",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 234.94,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.33101,
    "c": 0.12854,
    "h": 273.1
  },
  "luminance": 0.03321
}

Semantic roles & 50–950 ramp

primary
#232A76
secondary
#A9A14C
accent
#D14ADE
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #232A76

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

Preview Lab → · Contrast checker → · Palette generator →

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