#123858#123858

#123858 is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.1% C 0.071 H 247.5°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#123858
RGBrgb(18, 56, 88)
HSLhsl(207, 66%, 21%)
HSVhsv(207, 80%, 35%)
CMYKcmyk(79.5%, 36.4%, 0%, 65.5%)
CIE-LABlab(22.52, -0.89, -23.09)
CIE-LCHlch(22.52, 23.10, 267.80°)
OKLaboklab(33.12% -0.0271 -0.0655)
OKLCHoklch(33.12% 0.071 247.5)
XYZxyz(3.4244, 3.6611, 9.7568)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123858 #583212
analogous
#125855 #123858 #121558
triadic
#123858 #581238 #385812
tetradic
#123858 #551258 #583212 #155812
square
#123858 #551258 #583212 #155812
split-complementary
#123858 #581215 #585512
monochromatic
#051019 #081825 #123858 #1C588B #2779BE

Accessibility & contrast

On white

12.12
#123858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123858
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123858#FFFFFF#000000##FFFFFF
##1238581.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293959
Deuteranopia (green-blind)
#1F3357
Tritanopia (blue-blind)
#004044
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123858;
/* rgb */ color: rgb(18, 56, 88);
/* oklch */ color: oklch(33.1% 0.071 247.5);
Tailwind
colors: {
  custom: {
    50: '#5b6e87',
    500: '#123858',
    950: '#000000',
  },
}
SCSS
$custom: #123858;
$custom-light: #5b6e87;
$custom-dark: #000000;
JSON
{
  "hex": "#123858",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 88
  },
  "hsl": {
    "h": 207.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33115,
    "c": 0.07094,
    "h": 247.5
  },
  "luminance": 0.03662
}

Semantic roles & 50–950 ramp

primary
#123858
secondary
#915F35
accent
#8D3FE9
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123858

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

Preview Lab → · Contrast checker → · Palette generator →

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