#123861#123861

#123861 is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.7% C 0.084 H 253.1°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#123861
RGBrgb(18, 56, 97)
HSLhsl(211, 69%, 23%)
HSVhsv(211, 81%, 38%)
CMYKcmyk(81.4%, 42.3%, 0%, 62%)
CIE-LABlab(23.07, 2.89, -28.11)
CIE-LCHlch(23.07, 28.26, 275.87°)
OKLaboklab(33.72% -0.0244 -0.0803)
OKLCHoklch(33.72% 0.084 253.1)
XYZxyz(3.8205, 3.8196, 11.8428)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123861 #613B12
analogous
#126061 #123861 #131261
triadic
#123861 #611238 #386112
tetradic
#123861 #611260 #613B12 #126113
square
#123861 #611260 #613B12 #126113
split-complementary
#123861 #611312 #606112
monochromatic
#050F1A #081A2D #123861 #1C5695 #2574C8

Accessibility & contrast

On white

11.90
#123861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#123861 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123861
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123861#FFFFFF#000000##FFFFFF
##1238611.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243B63
Deuteranopia (green-blind)
#183460
Tritanopia (blue-blind)
#004247
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123861;
/* rgb */ color: rgb(18, 56, 97);
/* oklch */ color: oklch(33.7% 0.084 253.1);
Tailwind
colors: {
  custom: {
    50: '#5d6e8e',
    500: '#123861',
    950: '#000000',
  },
}
SCSS
$custom: #123861;
$custom-light: #5d6e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#123861",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 97
  },
  "hsl": {
    "h": 211.139,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33723,
    "c": 0.08391,
    "h": 253.1
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#123861
secondary
#996936
accent
#973CEC
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123861

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

Preview Lab → · Contrast checker → · Palette generator →

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