#123256#123256

#123256 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.4% C 0.075 H 253.5°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#123256
RGBrgb(18, 50, 86)
HSLhsl(212, 65%, 20%)
HSVhsv(212, 79%, 34%)
CMYKcmyk(79.1%, 41.9%, 0%, 66.3%)
CIE-LABlab(20.37, 2.47, -25.17)
CIE-LCHlch(20.37, 25.29, 275.60°)
OKLaboklab(31.39% -0.0212 -0.0717)
OKLCHoklch(31.39% 0.075 253.5)
XYZxyz(3.0691, 3.0813, 9.2353)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123256 #563612
analogous
#125456 #123256 #141256
triadic
#123256 #561232 #325612
tetradic
#123256 #561254 #563612 #125614
square
#123256 #561254 #563612 #125614
split-complementary
#123256 #561412 #545612
monochromatic
#050F19 #071523 #123256 #1D4F89 #276DBB

Accessibility & contrast

On white

12.99
#123256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#123256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123256
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123256#FFFFFF#000000##FFFFFF
##1232561.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213557
Deuteranopia (green-blind)
#172E55
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #123256;
/* rgb */ color: rgb(18, 50, 86);
/* oklch */ color: oklch(31.4% 0.075 253.5);
Tailwind
colors: {
  custom: {
    50: '#5a6986',
    500: '#123256',
    950: '#000000',
  },
}
SCSS
$custom: #123256;
$custom-light: #5a6986;
$custom-dark: #000000;
JSON
{
  "hex": "#123256",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 86
  },
  "hsl": {
    "h": 211.765,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31389,
    "c": 0.07482,
    "h": 253.5
  },
  "luminance": 0.03082
}

Semantic roles & 50–950 ramp

primary
#123256
secondary
#8F6535
accent
#993FE8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123256

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

Preview Lab → · Contrast checker → · Palette generator →

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