#12506A#12506A

#12506A is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.6% C 0.074 H 231.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#12506A
RGBrgb(18, 80, 106)
HSLhsl(198, 71%, 24%)
HSVhsv(198, 83%, 42%)
CMYKcmyk(83%, 24.5%, 0%, 58.4%)
CIE-LABlab(31.59, -9.21, -20.46)
CIE-LCHlch(31.59, 22.44, 245.76°)
OKLaboklab(40.62% -0.0462 -0.0576)
OKLCHoklch(40.62% 0.074 231.3)
XYZxyz(5.7186, 6.9058, 14.6644)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12506A #6A2C12
analogous
#126A58 #12506A #12246A
triadic
#12506A #6A1250 #506A12
tetradic
#12506A #58126A #6A2C12 #246A12
square
#12506A #58126A #6A2C12 #246A12
split-complementary
#12506A #6A1224 #6A5812
monochromatic
#04141A #092936 #12506A #1B779E #249FD3

Accessibility & contrast

On white

8.82
#12506A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#12506A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12506A
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12506A#FFFFFF#000000##FFFFFF
##12506A1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434F6B
Deuteranopia (green-blind)
#37476A
Tritanopia (blue-blind)
#005759
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #12506a;
/* rgb */ color: rgb(18, 80, 106);
/* oklch */ color: oklch(40.6% 0.074 231.3);
Tailwind
colors: {
  custom: {
    50: '#608194',
    500: '#12506a',
    950: '#000000',
  },
}
SCSS
$custom: #12506a;
$custom-light: #608194;
$custom-dark: #000000;
JSON
{
  "hex": "#12506a",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 106
  },
  "hsl": {
    "h": 197.727,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.40623,
    "c": 0.07388,
    "h": 231.3
  },
  "luminance": 0.06907
}

Semantic roles & 50–950 ramp

primary
#12506A
secondary
#A25636
accent
#6F3AEE
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#050A0D
muted
#7A7C7E

Preview Lab

Preview with #12506A

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

Preview Lab → · Contrast checker → · Palette generator →

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