#123A56#123A56

#123A56 is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.5% C 0.066 H 243.1°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#123A56
RGBrgb(18, 58, 86)
HSLhsl(205, 65%, 20%)
HSVhsv(205, 79%, 34%)
CMYKcmyk(79.1%, 32.6%, 0%, 66.3%)
CIE-LABlab(23.09, -3.07, -20.87)
CIE-LCHlch(23.09, 21.10, 261.64°)
OKLaboklab(33.53% -0.03 -0.0591)
OKLCHoklch(33.53% 0.066 243.1)
XYZxyz(3.4416, 3.8262, 9.3594)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A56 #562E12
analogous
#125650 #123A56 #121856
triadic
#123A56 #56123A #3A5612
tetradic
#123A56 #501256 #562E12 #185612
square
#123A56 #501256 #562E12 #185612
split-complementary
#123A56 #561218 #565012
monochromatic
#051119 #071823 #123A56 #1D5C89 #277EBB

Accessibility & contrast

On white

11.90
#123A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#123A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A56
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A56#FFFFFF#000000##FFFFFF
##123A561.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3B57
Deuteranopia (green-blind)
#243455
Tritanopia (blue-blind)
#004144
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123a56;
/* rgb */ color: rgb(18, 58, 86);
/* oklch */ color: oklch(33.5% 0.066 243.1);
Tailwind
colors: {
  custom: {
    50: '#5b7085',
    500: '#123a56',
    950: '#000000',
  },
}
SCSS
$custom: #123a56;
$custom-light: #5b7085;
$custom-dark: #000000;
JSON
{
  "hex": "#123a56",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 86
  },
  "hsl": {
    "h": 204.706,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.33528,
    "c": 0.06625,
    "h": 243.1
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#123A56
secondary
#8F5A35
accent
#853FE8
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123A56

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

Preview Lab → · Contrast checker → · Palette generator →

#123A56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva