#123476#123476

#123476 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.4% C 0.120 H 261.9°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#123476
RGBrgb(18, 52, 118)
HSLhsl(220, 74%, 27%)
HSVhsv(220, 85%, 46%)
CMYKcmyk(84.7%, 55.9%, 0%, 53.7%)
CIE-LABlab(23.31, 14.68, -41.25)
CIE-LCHlch(23.31, 43.78, 289.59°)
OKLaboklab(34.39% -0.017 -0.119)
OKLCHoklch(34.39% 0.12 261.9)
XYZxyz(4.7463, 3.8920, 17.6371)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123476 #765412
analogous
#126676 #123476 #221276
triadic
#123476 #761234 #347612
tetradic
#123476 #761266 #765412 #127622
square
#123476 #761266 #765412 #127622
split-complementary
#123476 #762212 #667612
monochromatic
#040C1B #0A1D41 #123476 #1A4BAB #2564DE

Accessibility & contrast

On white

11.81
#123476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#123476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123476
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123476#FFFFFF#000000##FFFFFF
##1234761.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123476;
/* rgb */ color: rgb(18, 52, 118);
/* oklch */ color: oklch(34.4% 0.120 261.9);
Tailwind
colors: {
  custom: {
    50: '#636a9e',
    500: '#123476',
    950: '#000000',
  },
}
SCSS
$custom: #123476;
$custom-light: #636a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#123476",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 118
  },
  "hsl": {
    "h": 219.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34394,
    "c": 0.12018,
    "h": 261.9
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#123476
secondary
#AD8537
accent
#B138F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123476

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

Preview Lab → · Contrast checker → · Palette generator →

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