#23478C#23478C

#23478C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.1% C 0.122 H 261.9°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#23478C
RGBrgb(35, 71, 140)
HSLhsl(219, 60%, 34%)
HSVhsv(219, 75%, 55%)
CMYKcmyk(75%, 49.3%, 0%, 45.1%)
CIE-LABlab(31.25, 12.50, -42.15)
CIE-LCHlch(31.25, 43.97, 286.52°)
OKLaboklab(41.15% -0.0173 -0.121)
OKLCHoklch(41.15% 0.122 261.9)
XYZxyz(7.6783, 6.7564, 25.7053)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23478C #8C6823
analogous
#237C8C #23478C #34238C
triadic
#23478C #8C2347 #478C23
tetradic
#23478C #8C237C #8C6823 #238C34
square
#23478C #8C237C #8C6823 #238C34
split-complementary
#23478C #8C3423 #7C8C23
monochromatic
#0B152A #172E5B #23478C #2F60BD #5581D4

Accessibility & contrast

On white

8.93
#23478C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#23478C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23478C
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23478C#FFFFFF#000000##FFFFFF
##23478C1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F8F
Deuteranopia (green-blind)
#02458B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #23478c;
/* rgb */ color: rgb(35, 71, 140);
/* oklch */ color: oklch(41.1% 0.122 261.9);
Tailwind
colors: {
  custom: {
    50: '#6d79ae',
    500: '#23478c',
    950: '#000000',
  },
}
SCSS
$custom: #23478c;
$custom-light: #6d79ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23478c",
  "rgb": {
    "r": 35,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 219.429,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41145,
    "c": 0.12221,
    "h": 261.9
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#23478C
secondary
#B89552
accent
#AD45E3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #23478C

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

Preview Lab → · Contrast checker → · Palette generator →

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