#123572#123572

#123572 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.113 H 260.7°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#123572
RGBrgb(18, 53, 114)
HSLhsl(218, 73%, 26%)
HSVhsv(218, 84%, 45%)
CMYKcmyk(84.2%, 53.5%, 0%, 55.3%)
CIE-LABlab(23.30, 12.26, -38.71)
CIE-LCHlch(23.30, 40.60, 287.58°)
OKLaboklab(34.29% -0.0183 -0.1115)
OKLCHoklch(34.29% 0.113 260.7)
XYZxyz(4.5587, 3.8892, 16.4267)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123572 #724F12
analogous
#126572 #123572 #1F1272
triadic
#123572 #721235 #357212
tetradic
#123572 #721265 #724F12 #12721F
square
#123572 #721265 #724F12 #12721F
split-complementary
#123572 #721F12 #657212
monochromatic
#040C1A #0A1C3D #123572 #1A4EA7 #2366DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##123572#FFFFFF#000000##FFFFFF
##1235721.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)
#0D3C74
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123572;
/* rgb */ color: rgb(18, 53, 114);
/* oklch */ color: oklch(34.3% 0.113 260.7);
Tailwind
colors: {
  custom: {
    50: '#626b9b',
    500: '#123572',
    950: '#000000',
  },
}
SCSS
$custom: #123572;
$custom-light: #626b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#123572",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 114
  },
  "hsl": {
    "h": 218.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34288,
    "c": 0.11298,
    "h": 260.7
  },
  "luminance": 0.0389
}

Semantic roles & 50–950 ramp

primary
#123572
secondary
#A97F37
accent
#AD38EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123572

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

Preview Lab → · Contrast checker → · Palette generator →

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