#23478F#23478F

#23478F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.127 H 262.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#23478F
RGBrgb(35, 71, 143)
HSLhsl(220, 61%, 35%)
HSVhsv(220, 76%, 56%)
CMYKcmyk(75.5%, 50.3%, 0%, 43.9%)
CIE-LABlab(31.45, 13.69, -43.66)
CIE-LCHlch(31.45, 45.75, 287.41°)
OKLaboklab(41.37% -0.0169 -0.1254)
OKLCHoklch(41.37% 0.127 262.3)
XYZxyz(7.9025, 6.8461, 26.8862)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23478F #8F6B23
analogous
#237D8F #23478F #35238F
triadic
#23478F #8F2347 #478F23
tetradic
#23478F #8F237D #8F6B23 #238F35
square
#23478F #8F237D #8F6B23 #238F35
split-complementary
#23478F #8F3523 #7D8F23
monochromatic
#0B162D #172F5E #23478F #2F5FC0 #5781D6

Accessibility & contrast

On white

8.86
#23478F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#23478F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23478F
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23478F#FFFFFF#000000##FFFFFF
##23478F1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F92
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #23478f;
/* rgb */ color: rgb(35, 71, 143);
/* oklch */ color: oklch(41.4% 0.127 262.3);
Tailwind
colors: {
  custom: {
    50: '#6e79b0',
    500: '#23478f',
    950: '#000000',
  },
}
SCSS
$custom: #23478f;
$custom-light: #6e79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23478f",
  "rgb": {
    "r": 35,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 220,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41371,
    "c": 0.12654,
    "h": 262.3
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#23478F
secondary
#BA9854
accent
#AF44E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #23478F

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

Preview Lab → · Contrast checker → · Palette generator →

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