#123473#123473

#123473 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.116 H 261.4°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#123473
RGBrgb(18, 52, 115)
HSLhsl(219, 73%, 26%)
HSVhsv(219, 84%, 45%)
CMYKcmyk(84.3%, 54.8%, 0%, 54.9%)
CIE-LABlab(23.07, 13.41, -39.72)
CIE-LCHlch(23.07, 41.92, 288.65°)
OKLaboklab(34.14% -0.0174 -0.1145)
OKLCHoklch(34.14% 0.116 261.4)
XYZxyz(4.5708, 3.8218, 16.7131)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123473 #735112
analogous
#126473 #123473 #201273
triadic
#123473 #731234 #347312
tetradic
#123473 #731264 #735112 #127320
square
#123473 #731264 #735112 #127320
split-complementary
#123473 #732012 #647312
monochromatic
#040C1A #0A1C3E #123473 #1A4CA8 #2364DD

Accessibility & contrast

On white

11.90
#123473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123473
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123473#FFFFFF#000000##FFFFFF
##1234731.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063C75
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123473;
/* rgb */ color: rgb(18, 52, 115);
/* oklch */ color: oklch(34.1% 0.116 261.4);
Tailwind
colors: {
  custom: {
    50: '#626a9c',
    500: '#123473',
    950: '#000000',
  },
}
SCSS
$custom: #123473;
$custom-light: #626a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#123473",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 115
  },
  "hsl": {
    "h": 218.969,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34138,
    "c": 0.11578,
    "h": 261.4
  },
  "luminance": 0.03822
}

Semantic roles & 50–950 ramp

primary
#123473
secondary
#AA8237
accent
#AF38F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123473

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

Preview Lab → · Contrast checker → · Palette generator →

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