#23479E#23479E

#23479E is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.148 H 264.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#23479E
RGBrgb(35, 71, 158)
HSLhsl(222, 64%, 38%)
HSVhsv(222, 78%, 62%)
CMYKcmyk(77.8%, 55.1%, 0%, 38%)
CIE-LABlab(32.55, 19.60, -51.01)
CIE-LCHlch(32.55, 54.65, 291.02°)
OKLaboklab(42.55% -0.0151 -0.147)
OKLCHoklch(42.55% 0.148 264.1)
XYZxyz(9.1157, 7.3314, 33.2758)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23479E #9E7A23
analogous
#23849E #23479E #3C239E
triadic
#23479E #9E2347 #479E23
tetradic
#23479E #9E2384 #9E7A23 #239E3C
square
#23479E #9E2384 #9E7A23 #239E3C
split-complementary
#23479E #9E3C23 #849E23
monochromatic
#0D1A3A #18306C #23479E #2E5ED0 #6084DC

Accessibility & contrast

On white

8.51
#23479E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#23479E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23479E
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23479E#FFFFFF#000000##FFFFFF
##23479E1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #23479e;
/* rgb */ color: rgb(35, 71, 158);
/* oklch */ color: oklch(42.6% 0.148 264.1);
Tailwind
colors: {
  custom: {
    50: '#7179bb',
    500: '#23479e',
    950: '#000000',
  },
}
SCSS
$custom: #23479e;
$custom-light: #7179bb;
$custom-dark: #000000;
JSON
{
  "hex": "#23479e",
  "rgb": {
    "r": 35,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 222.439,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42552,
    "c": 0.14782,
    "h": 264.1
  },
  "luminance": 0.07332
}

Semantic roles & 50–950 ramp

primary
#23479E
secondary
#C1A35C
accent
#B641E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #23479E

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

Preview Lab → · Contrast checker → · Palette generator →

#23479E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva