#123472#123472

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

Color values

HEX#123472
RGBrgb(18, 52, 114)
HSLhsl(219, 73%, 26%)
HSVhsv(219, 84%, 45%)
CMYKcmyk(84.2%, 54.4%, 0%, 55.3%)
CIE-LABlab(23.00, 12.98, -39.20)
CIE-LCHlch(23.00, 41.30, 288.32°)
OKLaboklab(34.05% -0.0175 -0.113)
OKLCHoklch(34.05% 0.114 261.2)
XYZxyz(4.5136, 3.7989, 16.4117)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123472 #725012
analogous
#126472 #123472 #201272
triadic
#123472 #721234 #347212
tetradic
#123472 #721264 #725012 #127220
square
#123472 #721264 #725012 #127220
split-complementary
#123472 #722012 #647212
monochromatic
#040C1A #0A1C3D #123472 #1A4CA7 #2364DC

Accessibility & contrast

On white

11.93
#123472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123472
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123472#FFFFFF#000000##FFFFFF
##1234721.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093B74
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123472;
/* rgb */ color: rgb(18, 52, 114);
/* oklch */ color: oklch(34.1% 0.114 261.2);
Tailwind
colors: {
  custom: {
    50: '#626a9b',
    500: '#123472',
    950: '#000000',
  },
}
SCSS
$custom: #123472;
$custom-light: #626a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#123472",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 114
  },
  "hsl": {
    "h": 218.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34054,
    "c": 0.11432,
    "h": 261.2
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#123472
secondary
#A98137
accent
#AF38EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123472

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

Preview Lab → · Contrast checker → · Palette generator →

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