#123156#123156

#123156 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.1% C 0.076 H 254.6°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#123156
RGBrgb(18, 49, 86)
HSLhsl(213, 65%, 20%)
HSVhsv(213, 79%, 34%)
CMYKcmyk(79.1%, 43%, 0%, 66.3%)
CIE-LABlab(20.03, 3.18, -25.71)
CIE-LCHlch(20.03, 25.90, 277.05°)
OKLaboklab(31.13% -0.0201 -0.0733)
OKLCHoklch(31.13% 0.076 254.6)
XYZxyz(3.0269, 2.9968, 9.2212)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123156 #563712
analogous
#125356 #123156 #151256
triadic
#123156 #561231 #315612
tetradic
#123156 #561253 #563712 #125615
square
#123156 #561253 #563712 #125615
split-complementary
#123156 #561512 #535612
monochromatic
#050E19 #071423 #123156 #1D4E89 #276BBB

Accessibility & contrast

On white

13.13
#123156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#123156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123156
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123156#FFFFFF#000000##FFFFFF
##1231561.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203457
Deuteranopia (green-blind)
#152D55
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #123156;
/* rgb */ color: rgb(18, 49, 86);
/* oklch */ color: oklch(31.1% 0.076 254.6);
Tailwind
colors: {
  custom: {
    50: '#5a6886',
    500: '#123156',
    950: '#000000',
  },
}
SCSS
$custom: #123156;
$custom-light: #5a6886;
$custom-dark: #000000;
JSON
{
  "hex": "#123156",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 86
  },
  "hsl": {
    "h": 212.647,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31127,
    "c": 0.07606,
    "h": 254.6
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#123156
secondary
#8F6635
accent
#9B3FE8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123156

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

Preview Lab → · Contrast checker → · Palette generator →

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