#23428C#23428C

#23428C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.129 H 264.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#23428C
RGBrgb(35, 66, 140)
HSLhsl(222, 60%, 34%)
HSVhsv(222, 75%, 55%)
CMYKcmyk(75%, 52.9%, 0%, 45.1%)
CIE-LABlab(29.78, 15.92, -44.52)
CIE-LCHlch(29.78, 47.28, 289.68°)
OKLaboklab(40.03% -0.0129 -0.128)
OKLCHoklch(40.03% 0.129 264.3)
XYZxyz(7.3733, 6.1464, 25.6036)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23428C #8C6D23
analogous
#23778C #23428C #39238C
triadic
#23428C #8C2342 #428C23
tetradic
#23428C #8C2377 #8C6D23 #238C39
square
#23428C #8C2377 #8C6D23 #238C39
split-complementary
#23428C #8C3923 #778C23
monochromatic
#0B142A #172B5B #23428C #2F59BD #557BD4

Accessibility & contrast

On white

9.42
#23428C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#23428C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23428C
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23428C#FFFFFF#000000##FFFFFF
##23428C1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124B8F
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #23428c;
/* rgb */ color: rgb(35, 66, 140);
/* oklch */ color: oklch(40.0% 0.129 264.3);
Tailwind
colors: {
  custom: {
    50: '#6d75ae',
    500: '#23428c',
    950: '#000000',
  },
}
SCSS
$custom: #23428c;
$custom-light: #6d75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23428c",
  "rgb": {
    "r": 35,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 222.286,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40025,
    "c": 0.12868,
    "h": 264.3
  },
  "luminance": 0.06147
}

Semantic roles & 50–950 ramp

primary
#23428C
secondary
#B89A52
accent
#B445E3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #23428C

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

Preview Lab → · Contrast checker → · Palette generator →

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