#123671#123671

#123671 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.4% C 0.110 H 259.9°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#123671
RGBrgb(18, 54, 113)
HSLhsl(217, 73%, 26%)
HSVhsv(217, 84%, 44%)
CMYKcmyk(84.1%, 52.2%, 0%, 55.7%)
CIE-LABlab(23.53, 11.12, -37.69)
CIE-LCHlch(23.53, 39.30, 286.44°)
OKLaboklab(34.44% -0.0193 -0.1085)
OKLCHoklch(34.44% 0.11 259.9)
XYZxyz(4.5482, 3.9586, 16.1440)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123671 #714D12
analogous
#126571 #123671 #1D1271
triadic
#123671 #711236 #367112
tetradic
#123671 #711265 #714D12 #12711D
square
#123671 #711265 #714D12 #12711D
split-complementary
#123671 #711D12 #657112
monochromatic
#040D1A #0A1D3C #123671 #1A4FA6 #2368DB

Accessibility & contrast

On white

11.72
#123671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#123671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123671
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123671#FFFFFF#000000##FFFFFF
##1236711.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D73
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123671;
/* rgb */ color: rgb(18, 54, 113);
/* oklch */ color: oklch(34.4% 0.110 259.9);
Tailwind
colors: {
  custom: {
    50: '#616c9a',
    500: '#123671',
    950: '#000000',
  },
}
SCSS
$custom: #123671;
$custom-light: #616c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#123671",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 113
  },
  "hsl": {
    "h": 217.263,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34441,
    "c": 0.11018,
    "h": 259.9
  },
  "luminance": 0.03959
}

Semantic roles & 50–950 ramp

primary
#123671
secondary
#A87D37
accent
#AA39EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123671

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

Preview Lab → · Contrast checker → · Palette generator →

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