#12546F#12546F

#12546F is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.0% C 0.077 H 230.9°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#12546F
RGBrgb(18, 84, 111)
HSLhsl(197, 72%, 25%)
HSVhsv(197, 84%, 44%)
CMYKcmyk(83.8%, 24.3%, 0%, 56.5%)
CIE-LABlab(33.17, -9.72, -21.15)
CIE-LCHlch(33.17, 23.27, 245.31°)
OKLaboklab(41.96% -0.0484 -0.0595)
OKLCHoklch(41.96% 0.077 230.9)
XYZxyz(6.2878, 7.6162, 16.1745)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12546F #6F2D12
analogous
#126F5B #12546F #12266F
triadic
#12546F #6F1254 #546F12
tetradic
#12546F #5B126F #6F2D12 #266F12
square
#12546F #5B126F #6F2D12 #266F12
split-complementary
#12546F #6F1226 #6F5B12
monochromatic
#04141A #092C3A #12546F #1B7CA4 #23A4D8

Accessibility & contrast

On white

8.32
#12546F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#12546F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12546F
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12546F#FFFFFF#000000##FFFFFF
##12546F1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465370
Deuteranopia (green-blind)
#3A4A6F
Tritanopia (blue-blind)
#005B5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #12546f;
/* rgb */ color: rgb(18, 84, 111);
/* oklch */ color: oklch(42.0% 0.077 230.9);
Tailwind
colors: {
  custom: {
    50: '#618498',
    500: '#12546f',
    950: '#000000',
  },
}
SCSS
$custom: #12546f;
$custom-light: #618498;
$custom-dark: #000000;
JSON
{
  "hex": "#12546f",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 111
  },
  "hsl": {
    "h": 197.419,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.41963,
    "c": 0.07676,
    "h": 230.9
  },
  "luminance": 0.07617
}

Semantic roles & 50–950 ramp

primary
#12546F
secondary
#A65737
accent
#6E39EF
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #12546F

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

Preview Lab → · Contrast checker → · Palette generator →

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