#23478B#23478B

#23478B is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.1% C 0.121 H 261.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#23478B
RGBrgb(35, 71, 139)
HSLhsl(219, 60%, 34%)
HSVhsv(219, 75%, 55%)
CMYKcmyk(74.8%, 48.9%, 0%, 45.5%)
CIE-LABlab(31.18, 12.10, -41.65)
CIE-LCHlch(31.18, 43.37, 286.21°)
OKLaboklab(41.07% -0.0175 -0.1195)
OKLCHoklch(41.07% 0.121 261.7)
XYZxyz(7.6049, 6.7271, 25.3187)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23478B #8B6723
analogous
#237B8B #23478B #33238B
triadic
#23478B #8B2347 #478B23
tetradic
#23478B #8B237B #8B6723 #238B33
square
#23478B #8B237B #8B6723 #238B33
split-complementary
#23478B #8B3323 #7B8B23
monochromatic
#0A1529 #172E5A #23478B #2F60BC #5481D4

Accessibility & contrast

On white

8.95
#23478B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23478B
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23478B#FFFFFF#000000##FFFFFF
##23478B1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8E
Deuteranopia (green-blind)
#05458A
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #23478b;
/* rgb */ color: rgb(35, 71, 139);
/* oklch */ color: oklch(41.1% 0.121 261.7);
Tailwind
colors: {
  custom: {
    50: '#6d79ad',
    500: '#23478b',
    950: '#000000',
  },
}
SCSS
$custom: #23478b;
$custom-light: #6d79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#23478b",
  "rgb": {
    "r": 35,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 219.231,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4107,
    "c": 0.12076,
    "h": 261.7
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23478B

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

Preview Lab → · Contrast checker → · Palette generator →

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