#123674#123674

#123674 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.115 H 260.5°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#123674
RGBrgb(18, 54, 116)
HSLhsl(218, 73%, 26%)
HSVhsv(218, 84%, 45%)
CMYKcmyk(84.5%, 53.4%, 0%, 54.5%)
CIE-LABlab(23.76, 12.40, -39.24)
CIE-LCHlch(23.76, 41.15, 287.53°)
OKLaboklab(34.69% -0.0188 -0.113)
OKLCHoklch(34.69% 0.115 260.5)
XYZxyz(4.7199, 4.0273, 17.0482)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123674 #745012
analogous
#126774 #123674 #1F1274
triadic
#123674 #741236 #367412
tetradic
#123674 #741267 #745012 #12741F
square
#123674 #741267 #745012 #12741F
split-complementary
#123674 #741F12 #677412
monochromatic
#040C1A #0A1D3F #123674 #1A4FA9 #2368DD

Accessibility & contrast

On white

11.63
#123674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#123674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123674
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123674#FFFFFF#000000##FFFFFF
##1236741.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3D76
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123674;
/* rgb */ color: rgb(18, 54, 116);
/* oklch */ color: oklch(34.7% 0.115 260.5);
Tailwind
colors: {
  custom: {
    50: '#626c9c',
    500: '#123674',
    950: '#000000',
  },
}
SCSS
$custom: #123674;
$custom-light: #626c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#123674",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 116
  },
  "hsl": {
    "h": 217.959,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34688,
    "c": 0.11459,
    "h": 260.5
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#123674
secondary
#AB8037
accent
#AC38F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123674

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

Preview Lab → · Contrast checker → · Palette generator →

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