#123959#123959

#123959 is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.4% C 0.071 H 247.0°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#123959
RGBrgb(18, 57, 89)
HSLhsl(207, 66%, 21%)
HSVhsv(207, 80%, 35%)
CMYKcmyk(79.8%, 36%, 0%, 65.1%)
CIE-LABlab(22.92, -1.15, -23.12)
CIE-LCHlch(22.92, 23.15, 267.14°)
OKLaboklab(33.45% -0.0279 -0.0656)
OKLCHoklch(33.45% 0.071 247)
XYZxyz(3.5151, 3.7757, 9.9928)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123959 #593212
analogous
#125955 #123959 #121559
triadic
#123959 #591239 #395912
tetradic
#123959 #551259 #593212 #155912
square
#123959 #551259 #593212 #155912
split-complementary
#123959 #591215 #595512
monochromatic
#051019 #081826 #123959 #1C5A8C #277ABF

Accessibility & contrast

On white

11.96
#123959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123959
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123959#FFFFFF#000000##FFFFFF
##1239591.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3A5A
Deuteranopia (green-blind)
#203458
Tritanopia (blue-blind)
#004145
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123959;
/* rgb */ color: rgb(18, 57, 89);
/* oklch */ color: oklch(33.4% 0.071 247.0);
Tailwind
colors: {
  custom: {
    50: '#5b6f88',
    500: '#123959',
    950: '#000000',
  },
}
SCSS
$custom: #123959;
$custom-light: #5b6f88;
$custom-dark: #000000;
JSON
{
  "hex": "#123959",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 89
  },
  "hsl": {
    "h": 207.042,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33447,
    "c": 0.0713,
    "h": 247
  },
  "luminance": 0.03776
}

Semantic roles & 50–950 ramp

primary
#123959
secondary
#925F35
accent
#8B3FE9
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123959

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

Preview Lab → · Contrast checker → · Palette generator →

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