#123675#123675

#123675 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.8% C 0.116 H 260.7°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#123675
RGBrgb(18, 54, 117)
HSLhsl(218, 73%, 26%)
HSVhsv(218, 85%, 46%)
CMYKcmyk(84.6%, 53.8%, 0%, 54.1%)
CIE-LABlab(23.84, 12.82, -39.75)
CIE-LCHlch(23.84, 41.77, 287.87°)
OKLaboklab(34.77% -0.0187 -0.1145)
OKLCHoklch(34.77% 0.116 260.7)
XYZxyz(4.7783, 4.0507, 17.3562)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123675 #755112
analogous
#126875 #123675 #201275
triadic
#123675 #751236 #367512
tetradic
#123675 #751268 #755112 #127520
square
#123675 #751268 #755112 #127520
split-complementary
#123675 #752012 #687512
monochromatic
#040C1B #0A1E40 #123675 #1A4EAA #2467DD

Accessibility & contrast

On white

11.60
#123675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123675
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123675#FFFFFF#000000##FFFFFF
##1236751.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3D77
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#004550
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123675;
/* rgb */ color: rgb(18, 54, 117);
/* oklch */ color: oklch(34.8% 0.116 260.7);
Tailwind
colors: {
  custom: {
    50: '#626c9d',
    500: '#123675',
    950: '#000000',
  },
}
SCSS
$custom: #123675;
$custom-light: #626c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#123675",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 117
  },
  "hsl": {
    "h": 218.182,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34771,
    "c": 0.11605,
    "h": 260.7
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#123675
secondary
#AC8137
accent
#AD38F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123675

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

Preview Lab → · Contrast checker → · Palette generator →

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