#123857#123857

#123857 is a dark, moderate cyan. Relative luminance 0.036; OKLCH L 33.1% C 0.070 H 246.7°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#123857
RGBrgb(18, 56, 87)
HSLhsl(207, 66%, 21%)
HSVhsv(207, 79%, 34%)
CMYKcmyk(79.3%, 35.6%, 0%, 65.9%)
CIE-LABlab(22.46, -1.30, -22.52)
CIE-LCHlch(22.46, 22.56, 266.70°)
OKLaboklab(33.05% -0.0274 -0.0639)
OKLCHoklch(33.05% 0.07 246.7)
XYZxyz(3.3833, 3.6447, 9.5402)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123857 #573112
analogous
#125753 #123857 #121557
triadic
#123857 #571238 #385712
tetradic
#123857 #531257 #573112 #155712
square
#123857 #531257 #573112 #155712
split-complementary
#123857 #571215 #575312
monochromatic
#051019 #081724 #123857 #1C598A #2779BC

Accessibility & contrast

On white

12.15
#123857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#123857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123857
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123857#FFFFFF#000000##FFFFFF
##1238571.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3958
Deuteranopia (green-blind)
#203356
Tritanopia (blue-blind)
#003F43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123857;
/* rgb */ color: rgb(18, 56, 87);
/* oklch */ color: oklch(33.1% 0.070 246.7);
Tailwind
colors: {
  custom: {
    50: '#5b6e86',
    500: '#123857',
    950: '#000000',
  },
}
SCSS
$custom: #123857;
$custom-light: #5b6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#123857",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 87
  },
  "hsl": {
    "h": 206.957,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3305,
    "c": 0.06954,
    "h": 246.7
  },
  "luminance": 0.03645
}

Semantic roles & 50–950 ramp

primary
#123857
secondary
#905E35
accent
#8B3FE9
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123857

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

Preview Lab → · Contrast checker → · Palette generator →

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