#123471#123471

#123471 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.113 H 261.0°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#123471
RGBrgb(18, 52, 113)
HSLhsl(219, 73%, 26%)
HSVhsv(219, 84%, 44%)
CMYKcmyk(84.1%, 54%, 0%, 55.7%)
CIE-LABlab(22.92, 12.56, -38.69)
CIE-LCHlch(22.92, 40.68, 287.98°)
OKLaboklab(33.97% -0.0176 -0.1114)
OKLCHoklch(33.97% 0.113 261)
XYZxyz(4.4570, 3.7763, 16.1136)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123471 #714F12
analogous
#126371 #123471 #1F1271
triadic
#123471 #711234 #347112
tetradic
#123471 #711263 #714F12 #12711F
square
#123471 #711263 #714F12 #12711F
split-complementary
#123471 #711F12 #637112
monochromatic
#040C1A #0A1C3C #123471 #1A4CA6 #2365DB

Accessibility & contrast

On white

11.96
#123471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#123471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123471
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123471#FFFFFF#000000##FFFFFF
##1234711.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3B73
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123471;
/* rgb */ color: rgb(18, 52, 113);
/* oklch */ color: oklch(34.0% 0.113 261.0);
Tailwind
colors: {
  custom: {
    50: '#616a9a',
    500: '#123471',
    950: '#000000',
  },
}
SCSS
$custom: #123471;
$custom-light: #616a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#123471",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 113
  },
  "hsl": {
    "h": 218.526,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3397,
    "c": 0.11284,
    "h": 261
  },
  "luminance": 0.03777
}

Semantic roles & 50–950 ramp

primary
#123471
secondary
#A87F37
accent
#AE39EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123471

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

Preview Lab → · Contrast checker → · Palette generator →

#123471 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva