#123571#123571

#123571 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.2% C 0.112 H 260.5°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#123571
RGBrgb(18, 53, 113)
HSLhsl(218, 73%, 26%)
HSVhsv(218, 84%, 44%)
CMYKcmyk(84.1%, 53.1%, 0%, 55.7%)
CIE-LABlab(23.23, 11.84, -38.19)
CIE-LCHlch(23.23, 39.98, 287.22°)
OKLaboklab(34.21% -0.0184 -0.11)
OKLCHoklch(34.21% 0.112 260.5)
XYZxyz(4.5021, 3.8665, 16.1286)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123571 #714E12
analogous
#126471 #123571 #1F1271
triadic
#123571 #711235 #357112
tetradic
#123571 #711264 #714E12 #12711F
square
#123571 #711264 #714E12 #12711F
split-complementary
#123571 #711F12 #647112
monochromatic
#040C1A #0A1C3C #123571 #1A4EA6 #2367DB

Accessibility & contrast

On white

11.84
#123571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#123571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123571
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123571#FFFFFF#000000##FFFFFF
##1235711.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3C73
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123571;
/* rgb */ color: rgb(18, 53, 113);
/* oklch */ color: oklch(34.2% 0.112 260.5);
Tailwind
colors: {
  custom: {
    50: '#616b9a',
    500: '#123571',
    950: '#000000',
  },
}
SCSS
$custom: #123571;
$custom-light: #616b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#123571",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 217.895,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34205,
    "c": 0.11151,
    "h": 260.5
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#123571
secondary
#A87E37
accent
#AC39EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123571

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

Preview Lab → · Contrast checker → · Palette generator →

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