#123159#123159

#123159 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.3% C 0.081 H 256.1°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#123159
RGBrgb(18, 49, 89)
HSLhsl(214, 66%, 21%)
HSVhsv(214, 80%, 35%)
CMYKcmyk(79.8%, 44.9%, 0%, 65.1%)
CIE-LABlab(20.23, 4.46, -27.38)
CIE-LCHlch(20.23, 27.75, 279.24°)
OKLaboklab(31.34% -0.0194 -0.0783)
OKLCHoklch(31.34% 0.081 256.1)
XYZxyz(3.1503, 3.0461, 9.8712)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123159 #593A12
analogous
#125459 #123159 #161259
triadic
#123159 #591231 #315912
tetradic
#123159 #591254 #593A12 #125916
square
#123159 #591254 #593A12 #125916
split-complementary
#123159 #591612 #545912
monochromatic
#050E19 #081526 #123159 #1C4D8C #2769BF

Accessibility & contrast

On white

13.05
#123159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#123159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123159
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123159#FFFFFF#000000##FFFFFF
##1231591.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E345B
Deuteranopia (green-blind)
#122E58
Tritanopia (blue-blind)
#003A40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #123159;
/* rgb */ color: rgb(18, 49, 89);
/* oklch */ color: oklch(31.3% 0.081 256.1);
Tailwind
colors: {
  custom: {
    50: '#5b6888',
    500: '#123159',
    950: '#000000',
  },
}
SCSS
$custom: #123159;
$custom-light: #5b6888;
$custom-dark: #000000;
JSON
{
  "hex": "#123159",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 89
  },
  "hsl": {
    "h": 213.803,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31344,
    "c": 0.08062,
    "h": 256.1
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#123159
secondary
#926935
accent
#9F3FE9
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123159

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

Preview Lab → · Contrast checker → · Palette generator →

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