#23429E#23429E

#23429E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.154 H 265.7°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#23429E
RGBrgb(35, 66, 158)
HSLhsl(225, 64%, 38%)
HSVhsv(225, 78%, 62%)
CMYKcmyk(77.8%, 58.2%, 0%, 38%)
CIE-LABlab(31.16, 22.99, -53.26)
CIE-LCHlch(31.16, 58.01, 293.35°)
OKLaboklab(41.51% -0.0114 -0.1537)
OKLCHoklch(41.51% 0.154 265.7)
XYZxyz(8.8107, 6.7214, 33.1741)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23429E #9E7F23
analogous
#237F9E #23429E #41239E
triadic
#23429E #9E2342 #429E23
tetradic
#23429E #9E237F #9E7F23 #239E41
square
#23429E #9E237F #9E7F23 #239E41
split-complementary
#23429E #9E4123 #7F9E23
monochromatic
#0D183A #182D6C #23429E #2E57D0 #607FDC

Accessibility & contrast

On white

8.96
#23429E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#23429E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23429E
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23429E#FFFFFF#000000##FFFFFF
##23429E1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #23429e;
/* rgb */ color: rgb(35, 66, 158);
/* oklch */ color: oklch(41.5% 0.154 265.7);
Tailwind
colors: {
  custom: {
    50: '#7275bb',
    500: '#23429e',
    950: '#000000',
  },
}
SCSS
$custom: #23429e;
$custom-light: #7275bb;
$custom-dark: #000000;
JSON
{
  "hex": "#23429e",
  "rgb": {
    "r": 35,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 224.878,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41508,
    "c": 0.15418,
    "h": 265.7
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

primary
#23429E
secondary
#C1A75C
accent
#BD41E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #23429E

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

Preview Lab → · Contrast checker → · Palette generator →

#23429E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva