#12546E#12546E

#12546E is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 41.9% C 0.076 H 229.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#12546E
RGBrgb(18, 84, 110)
HSLhsl(197, 72%, 25%)
HSVhsv(197, 84%, 43%)
CMYKcmyk(83.6%, 23.6%, 0%, 56.9%)
CIE-LABlab(33.12, -10.11, -20.59)
CIE-LCHlch(33.12, 22.94, 243.86°)
OKLaboklab(41.91% -0.0488 -0.058)
OKLCHoklch(41.91% 0.076 229.9)
XYZxyz(6.2331, 7.5943, 15.8862)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12546E #6E2C12
analogous
#126E5A #12546E #12266E
triadic
#12546E #6E1254 #546E12
tetradic
#12546E #5A126E #6E2C12 #266E12
square
#12546E #5A126E #6E2C12 #266E12
split-complementary
#12546E #6E1226 #6E5A12
monochromatic
#04141A #092C39 #12546E #1B7CA3 #23A4D7

Accessibility & contrast

On white

8.34
#12546E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12546E
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12546E#FFFFFF#000000##FFFFFF
##12546E1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47536F
Deuteranopia (green-blind)
#3A4A6E
Tritanopia (blue-blind)
#005B5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #12546e;
/* rgb */ color: rgb(18, 84, 110);
/* oklch */ color: oklch(41.9% 0.076 229.9);
Tailwind
colors: {
  custom: {
    50: '#618497',
    500: '#12546e',
    950: '#000000',
  },
}
SCSS
$custom: #12546e;
$custom-light: #618497;
$custom-dark: #000000;
JSON
{
  "hex": "#12546e",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 110
  },
  "hsl": {
    "h": 196.957,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.41909,
    "c": 0.07579,
    "h": 229.9
  },
  "luminance": 0.07595
}

Semantic roles & 50–950 ramp

primary
#12546E
secondary
#A55637
accent
#6C39EF
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #12546E

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

Preview Lab → · Contrast checker → · Palette generator →

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