#123477#123477

#123477 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.5% C 0.122 H 262.0°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#123477
RGBrgb(18, 52, 119)
HSLhsl(220, 74%, 27%)
HSVhsv(220, 85%, 47%)
CMYKcmyk(84.9%, 56.3%, 0%, 53.3%)
CIE-LABlab(23.39, 15.10, -41.75)
CIE-LCHlch(23.39, 44.40, 289.89°)
OKLaboklab(34.48% -0.0169 -0.1205)
OKLCHoklch(34.48% 0.122 262)
XYZxyz(4.8060, 3.9159, 17.9517)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123477 #775512
analogous
#126777 #123477 #231277
triadic
#123477 #771234 #347712
tetradic
#123477 #771267 #775512 #127723
square
#123477 #771267 #775512 #127723
split-complementary
#123477 #772312 #677712
monochromatic
#040C1B #0A1D42 #123477 #1A4BAC #2564DE

Accessibility & contrast

On white

11.78
#123477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123477
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123477#FFFFFF#000000##FFFFFF
##1234771.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D79
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#004550
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123477;
/* rgb */ color: rgb(18, 52, 119);
/* oklch */ color: oklch(34.5% 0.122 262.0);
Tailwind
colors: {
  custom: {
    50: '#636a9f',
    500: '#123477',
    950: '#000000',
  },
}
SCSS
$custom: #123477;
$custom-light: #636a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#123477",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 119
  },
  "hsl": {
    "h": 219.802,
    "s": 73.723,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34481,
    "c": 0.12164,
    "h": 262
  },
  "luminance": 0.03916
}

Semantic roles & 50–950 ramp

primary
#123477
secondary
#AD8637
accent
#B237F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123477

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

Preview Lab → · Contrast checker → · Palette generator →

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