#123056#123056

#123056 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.9% C 0.077 H 255.7°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#123056
RGBrgb(18, 48, 86)
HSLhsl(214, 65%, 20%)
HSVhsv(214, 79%, 34%)
CMYKcmyk(79.1%, 44.2%, 0%, 66.3%)
CIE-LABlab(19.70, 3.90, -26.24)
CIE-LCHlch(19.70, 26.53, 278.44°)
OKLaboklab(30.87% -0.0191 -0.0749)
OKLCHoklch(30.87% 0.077 255.7)
XYZxyz(2.9855, 2.9141, 9.2074)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123056 #563812
analogous
#125256 #123056 #161256
triadic
#123056 #561230 #305612
tetradic
#123056 #561252 #563812 #125616
square
#123056 #561252 #563812 #125616
split-complementary
#123056 #561612 #525612
monochromatic
#050E19 #071423 #123056 #1D4C89 #2768BB

Accessibility & contrast

On white

13.27
#123056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#123056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123056
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123056#FFFFFF#000000##FFFFFF
##1230561.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3358
Deuteranopia (green-blind)
#132D55
Tritanopia (blue-blind)
#00393E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #123056;
/* rgb */ color: rgb(18, 48, 86);
/* oklch */ color: oklch(30.9% 0.077 255.7);
Tailwind
colors: {
  custom: {
    50: '#5a6786',
    500: '#123056',
    950: '#000000',
  },
}
SCSS
$custom: #123056;
$custom-light: #5a6786;
$custom-dark: #000000;
JSON
{
  "hex": "#123056",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 86
  },
  "hsl": {
    "h": 213.529,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30867,
    "c": 0.07731,
    "h": 255.7
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#123056
secondary
#8F6735
accent
#9E3FE8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123056

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

Preview Lab → · Contrast checker → · Palette generator →

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