#12486F#12486F

#12486F is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.8% C 0.086 H 245.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#12486F
RGBrgb(18, 72, 111)
HSLhsl(205, 72%, 25%)
HSVhsv(205, 84%, 44%)
CMYKcmyk(83.8%, 35.1%, 0%, 56.5%)
CIE-LABlab(29.19, -2.14, -27.39)
CIE-LCHlch(29.19, 27.48, 265.54°)
OKLaboklab(38.8% -0.0362 -0.0779)
OKLCHoklch(38.8% 0.086 245)
XYZxyz(5.4349, 5.9104, 15.8902)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12486F #6F3912
analogous
#126F67 #12486F #121A6F
triadic
#12486F #6F1248 #486F12
tetradic
#12486F #67126F #6F3912 #1A6F12
square
#12486F #67126F #6F3912 #1A6F12
split-complementary
#12486F #6F121A #6F6712
monochromatic
#04111A #09263A #12486F #1B6AA4 #238CD8

Accessibility & contrast

On white

9.62
#12486F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#12486F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12486F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12486F#FFFFFF#000000##FFFFFF
##12486F1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364971
Deuteranopia (green-blind)
#29416E
Tritanopia (blue-blind)
#005156
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #12486f;
/* rgb */ color: rgb(18, 72, 111);
/* oklch */ color: oklch(38.8% 0.086 245.0);
Tailwind
colors: {
  custom: {
    50: '#617a98',
    500: '#12486f',
    950: '#000000',
  },
}
SCSS
$custom: #12486f;
$custom-light: #617a98;
$custom-dark: #000000;
JSON
{
  "hex": "#12486f",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 111
  },
  "hsl": {
    "h": 205.161,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38798,
    "c": 0.08588,
    "h": 245
  },
  "luminance": 0.05911
}

Semantic roles & 50–950 ramp

primary
#12486F
secondary
#A66537
accent
#8539EF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090D
muted
#7A7B7E

Preview Lab

Preview with #12486F

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

Preview Lab → · Contrast checker → · Palette generator →

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