#123972#123972

#123972 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.2% C 0.108 H 258.4°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#123972
RGBrgb(18, 57, 114)
HSLhsl(216, 73%, 26%)
HSVhsv(216, 84%, 45%)
CMYKcmyk(84.2%, 50%, 0%, 55.3%)
CIE-LABlab(24.54, 9.40, -36.71)
CIE-LCHlch(24.54, 37.89, 284.37°)
OKLaboklab(35.24% -0.0216 -0.1055)
OKLCHoklch(35.24% 0.108 258.4)
XYZxyz(4.7487, 4.2692, 16.4901)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123972 #724B12
analogous
#126972 #123972 #1B1272
triadic
#123972 #721239 #397212
tetradic
#123972 #721269 #724B12 #12721B
square
#123972 #721269 #724B12 #12721B
split-complementary
#123972 #721B12 #697212
monochromatic
#040D1A #0A1F3D #123972 #1A53A7 #236EDC

Accessibility & contrast

On white

11.33
#123972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#123972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123972
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123972#FFFFFF#000000##FFFFFF
##1239721.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193F74
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123972;
/* rgb */ color: rgb(18, 57, 114);
/* oklch */ color: oklch(35.2% 0.108 258.4);
Tailwind
colors: {
  custom: {
    50: '#616e9b',
    500: '#123972',
    950: '#000000',
  },
}
SCSS
$custom: #123972;
$custom-light: #616e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#123972",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 114
  },
  "hsl": {
    "h": 215.625,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35239,
    "c": 0.1077,
    "h": 258.4
  },
  "luminance": 0.0427
}

Semantic roles & 50–950 ramp

primary
#123972
secondary
#A97B37
accent
#A538EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123972

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

Preview Lab → · Contrast checker → · Palette generator →

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