#23428A#23428A

#23428A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.126 H 264.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#23428A
RGBrgb(35, 66, 138)
HSLhsl(222, 60%, 34%)
HSVhsv(222, 75%, 54%)
CMYKcmyk(74.6%, 52.2%, 0%, 45.9%)
CIE-LABlab(29.63, 15.13, -43.52)
CIE-LCHlch(29.63, 46.07, 289.17°)
OKLaboklab(39.87% -0.0131 -0.1251)
OKLCHoklch(39.87% 0.126 264)
XYZxyz(7.2272, 6.0880, 24.8340)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23428A #8A6B23
analogous
#23768A #23428A #38238A
triadic
#23428A #8A2342 #428A23
tetradic
#23428A #8A2376 #8A6B23 #238A38
square
#23428A #8A2376 #8A6B23 #238A38
split-complementary
#23428A #8A3823 #768A23
monochromatic
#0A1328 #172B59 #23428A #2F59BB #547AD4

Accessibility & contrast

On white

9.47
#23428A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#23428A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23428A
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23428A#FFFFFF#000000##FFFFFF
##23428A1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164B8D
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #23428a;
/* rgb */ color: rgb(35, 66, 138);
/* oklch */ color: oklch(39.9% 0.126 264.0);
Tailwind
colors: {
  custom: {
    50: '#6d75ad',
    500: '#23428a',
    950: '#000000',
  },
}
SCSS
$custom: #23428a;
$custom-light: #6d75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#23428a",
  "rgb": {
    "r": 35,
    "g": 66,
    "b": 138
  },
  "hsl": {
    "h": 221.942,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39868,
    "c": 0.12578,
    "h": 264
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#23428A
secondary
#B79951
accent
#B345E3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #23428A

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

Preview Lab → · Contrast checker → · Palette generator →

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