#12506F#12506F

#12506F is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 40.9% C 0.079 H 236.0°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#12506F
RGBrgb(18, 80, 111)
HSLhsl(200, 72%, 25%)
HSVhsv(200, 84%, 44%)
CMYKcmyk(83.8%, 27.9%, 0%, 56.5%)
CIE-LABlab(31.84, -7.26, -23.23)
CIE-LCHlch(31.84, 24.33, 252.65°)
OKLaboklab(40.9% -0.0443 -0.0656)
OKLCHoklch(40.9% 0.079 236)
XYZxyz(5.9862, 7.0129, 16.0740)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12506F #6F3112
analogous
#126F5F #12506F #12216F
triadic
#12506F #6F1250 #506F12
tetradic
#12506F #5F126F #6F3112 #216F12
square
#12506F #5F126F #6F3112 #216F12
split-complementary
#12506F #6F1221 #6F5F12
monochromatic
#04131A #092A3A #12506F #1B76A4 #239CD8

Accessibility & contrast

On white

8.74
#12506F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#12506F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12506F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12506F#FFFFFF#000000##FFFFFF
##12506F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415070
Deuteranopia (green-blind)
#35476E
Tritanopia (blue-blind)
#00585B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #12506f;
/* rgb */ color: rgb(18, 80, 111);
/* oklch */ color: oklch(40.9% 0.079 236.0);
Tailwind
colors: {
  custom: {
    50: '#618198',
    500: '#12506f',
    950: '#000000',
  },
}
SCSS
$custom: #12506f;
$custom-light: #618198;
$custom-dark: #000000;
JSON
{
  "hex": "#12506f",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 111
  },
  "hsl": {
    "h": 200,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.40899,
    "c": 0.07918,
    "h": 236
  },
  "luminance": 0.07014
}

Semantic roles & 50–950 ramp

primary
#12506F
secondary
#A65C37
accent
#7639EF
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #12506F

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

Preview Lab → · Contrast checker → · Palette generator →

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