#12456F#12456F

#12456F is a dark, moderate cyan. Relative luminance 0.055; OKLCH L 38.0% C 0.089 H 248.0°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#12456F
RGBrgb(18, 69, 111)
HSLhsl(207, 72%, 25%)
HSVhsv(207, 84%, 44%)
CMYKcmyk(83.8%, 37.8%, 0%, 56.5%)
CIE-LABlab(28.20, -0.15, -28.95)
CIE-LCHlch(28.20, 28.95, 269.71°)
OKLaboklab(38.02% -0.0333 -0.0825)
OKLCHoklch(38.02% 0.089 248)
XYZxyz(5.2457, 5.5319, 15.8271)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12456F #6F3C12
analogous
#126F6A #12456F #12166F
triadic
#12456F #6F1245 #456F12
tetradic
#12456F #6A126F #6F3C12 #166F12
square
#12456F #6A126F #6F3C12 #166F12
split-complementary
#12456F #6F1216 #6F6A12
monochromatic
#04101A #09243A #12456F #1B66A4 #2386D8

Accessibility & contrast

On white

9.97
#12456F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#12456F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12456F
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12456F#FFFFFF#000000##FFFFFF
##12456F1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314771
Deuteranopia (green-blind)
#233F6E
Tritanopia (blue-blind)
#004F54
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #12456f;
/* rgb */ color: rgb(18, 69, 111);
/* oklch */ color: oklch(38.0% 0.089 248.0);
Tailwind
colors: {
  custom: {
    50: '#617898',
    500: '#12456f',
    950: '#000000',
  },
}
SCSS
$custom: #12456f;
$custom-light: #617898;
$custom-dark: #000000;
JSON
{
  "hex": "#12456f",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 111
  },
  "hsl": {
    "h": 207.097,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38022,
    "c": 0.08895,
    "h": 248
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

primary
#12456F
secondary
#A66937
accent
#8B39EF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #12456F

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

Preview Lab → · Contrast checker → · Palette generator →

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