#12456A#12456A

#12456A is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 37.7% C 0.082 H 244.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#12456A
RGBrgb(18, 69, 106)
HSLhsl(205, 71%, 24%)
HSVhsv(205, 83%, 42%)
CMYKcmyk(83%, 34.9%, 0%, 58.4%)
CIE-LABlab(27.91, -2.20, -26.23)
CIE-LCHlch(27.91, 26.32, 265.20°)
OKLaboklab(37.7% -0.0349 -0.0745)
OKLCHoklch(37.7% 0.082 244.9)
XYZxyz(4.9781, 5.4248, 14.4176)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12456A #6A3712
analogous
#126A63 #12456A #12196A
triadic
#12456A #6A1245 #456A12
tetradic
#12456A #63126A #6A3712 #196A12
square
#12456A #63126A #6A3712 #196A12
split-complementary
#12456A #6A1219 #6A6312
monochromatic
#04111A #092336 #12456A #1B679E #2489D3

Accessibility & contrast

On white

10.07
#12456A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#12456A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12456A
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12456A#FFFFFF#000000##FFFFFF
##12456A1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34466C
Deuteranopia (green-blind)
#273E69
Tritanopia (blue-blind)
#004E52
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #12456a;
/* rgb */ color: rgb(18, 69, 106);
/* oklch */ color: oklch(37.7% 0.082 244.9);
Tailwind
colors: {
  custom: {
    50: '#5f7895',
    500: '#12456a',
    950: '#000000',
  },
}
SCSS
$custom: #12456a;
$custom-light: #5f7895;
$custom-dark: #000000;
JSON
{
  "hex": "#12456a",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 106
  },
  "hsl": {
    "h": 205.227,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.37702,
    "c": 0.08226,
    "h": 244.9
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#12456A
secondary
#A26336
accent
#863AEE
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#05080D
muted
#7A7B7E

Preview Lab

Preview with #12456A

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

Preview Lab → · Contrast checker → · Palette generator →

#12456A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva