#23428E#23428E

#23428E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.132 H 264.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#23428E
RGBrgb(35, 66, 142)
HSLhsl(223, 60%, 35%)
HSVhsv(223, 75%, 56%)
CMYKcmyk(75.4%, 53.5%, 0%, 44.3%)
CIE-LABlab(29.93, 16.71, -45.51)
CIE-LCHlch(29.93, 48.48, 290.16°)
OKLaboklab(40.18% -0.0126 -0.1309)
OKLCHoklch(40.18% 0.132 264.5)
XYZxyz(7.5221, 6.2059, 26.3874)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23428E #8E6F23
analogous
#23788E #23428E #3A238E
triadic
#23428E #8E2342 #428E23
tetradic
#23428E #8E2378 #8E6F23 #238E3A
square
#23428E #8E2378 #8E6F23 #238E3A
split-complementary
#23428E #8E3A23 #788E23
monochromatic
#0B142C #172B5D #23428E #2F59BF #567BD5

Accessibility & contrast

On white

9.37
#23428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#23428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23428E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23428E#FFFFFF#000000##FFFFFF
##23428E1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4C91
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #23428e;
/* rgb */ color: rgb(35, 66, 142);
/* oklch */ color: oklch(40.2% 0.132 264.5);
Tailwind
colors: {
  custom: {
    50: '#6e75b0',
    500: '#23428e',
    950: '#000000',
  },
}
SCSS
$custom: #23428e;
$custom-light: #6e75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23428e",
  "rgb": {
    "r": 35,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 222.617,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40184,
    "c": 0.13156,
    "h": 264.5
  },
  "luminance": 0.06207
}

Semantic roles & 50–950 ramp

primary
#23428E
secondary
#B99C53
accent
#B544E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #23428E

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

Preview Lab → · Contrast checker → · Palette generator →

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