#123672#123672

#123672 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.5% C 0.112 H 260.1°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#123672
RGBrgb(18, 54, 114)
HSLhsl(218, 73%, 26%)
HSVhsv(218, 84%, 45%)
CMYKcmyk(84.2%, 52.6%, 0%, 55.3%)
CIE-LABlab(23.61, 11.54, -38.21)
CIE-LCHlch(23.61, 39.92, 286.81°)
OKLaboklab(34.52% -0.0191 -0.11)
OKLCHoklch(34.52% 0.112 260.1)
XYZxyz(4.6048, 3.9813, 16.4421)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123672 #724E12
analogous
#126672 #123672 #1E1272
triadic
#123672 #721236 #367212
tetradic
#123672 #721266 #724E12 #12721E
square
#123672 #721266 #724E12 #12721E
split-complementary
#123672 #721E12 #667212
monochromatic
#040D1A #0A1D3D #123672 #1A4FA7 #2368DC

Accessibility & contrast

On white

11.69
#123672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#123672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123672
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123672#FFFFFF#000000##FFFFFF
##1236721.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103D74
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123672;
/* rgb */ color: rgb(18, 54, 114);
/* oklch */ color: oklch(34.5% 0.112 260.1);
Tailwind
colors: {
  custom: {
    50: '#626c9b',
    500: '#123672',
    950: '#000000',
  },
}
SCSS
$custom: #123672;
$custom-light: #626c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#123672",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 114
  },
  "hsl": {
    "h": 217.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34523,
    "c": 0.11165,
    "h": 260.1
  },
  "luminance": 0.03982
}

Semantic roles & 50–950 ramp

primary
#123672
secondary
#A97E37
accent
#AB38EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123672

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

Preview Lab → · Contrast checker → · Palette generator →

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