#123966#123966

#123966 is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.3% C 0.090 H 254.4°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#123966
RGBrgb(18, 57, 102)
HSLhsl(212, 70%, 24%)
HSVhsv(212, 82%, 40%)
CMYKcmyk(82.4%, 44.1%, 0%, 60%)
CIE-LABlab(23.72, 4.30, -30.32)
CIE-LCHlch(23.72, 30.63, 278.08°)
OKLaboklab(34.33% -0.0241 -0.0867)
OKLCHoklch(34.33% 0.09 254.4)
XYZxyz(4.1100, 4.0137, 13.1259)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123966 #663F12
analogous
#126366 #123966 #151266
triadic
#123966 #661239 #396612
tetradic
#123966 #661263 #663F12 #126615
square
#123966 #661263 #663F12 #126615
split-complementary
#123966 #661512 #636612
monochromatic
#050F1A #091C32 #123966 #1B569A #2473CE

Accessibility & contrast

On white

11.65
#123966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123966
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123966#FFFFFF#000000##FFFFFF
##1239661.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233D68
Deuteranopia (green-blind)
#143565
Tritanopia (blue-blind)
#00444A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123966;
/* rgb */ color: rgb(18, 57, 102);
/* oklch */ color: oklch(34.3% 0.090 254.4);
Tailwind
colors: {
  custom: {
    50: '#5e6e92',
    500: '#123966',
    950: '#000000',
  },
}
SCSS
$custom: #123966;
$custom-light: #5e6e92;
$custom-dark: #000000;
JSON
{
  "hex": "#123966",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 102
  },
  "hsl": {
    "h": 212.143,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34334,
    "c": 0.09003,
    "h": 254.4
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

primary
#123966
secondary
#9E6E36
accent
#9A3BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05070D
muted
#797A7E

Preview Lab

Preview with #123966

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

Preview Lab → · Contrast checker → · Palette generator →

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