#12547F#12547F

#12547F is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 42.9% C 0.095 H 243.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#12547F
RGBrgb(18, 84, 127)
HSLhsl(204, 75%, 28%)
HSVhsv(204, 86%, 50%)
CMYKcmyk(85.8%, 33.9%, 0%, 50.2%)
CIE-LABlab(33.98, -3.41, -29.81)
CIE-LCHlch(33.98, 30.00, 263.47°)
OKLaboklab(42.88% -0.0427 -0.0847)
OKLCHoklch(42.88% 0.095 243.2)
XYZxyz(7.2490, 8.0006, 21.2368)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12547F #7F3D12
analogous
#127F73 #12547F #121D7F
triadic
#12547F #7F1254 #547F12
tetradic
#12547F #73127F #7F3D12 #1D7F12
square
#12547F #73127F #7F3D12 #1D7F12
split-complementary
#12547F #7F121D #7F7312
monochromatic
#04121B #0A3149 #12547F #1A77B5 #2B99E1

Accessibility & contrast

On white

8.08
#12547F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#12547F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12547F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12547F#FFFFFF#000000##FFFFFF
##12547F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405581
Deuteranopia (green-blind)
#314C7E
Tritanopia (blue-blind)
#005F63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #12547f;
/* rgb */ color: rgb(18, 84, 127);
/* oklch */ color: oklch(42.9% 0.095 243.2);
Tailwind
colors: {
  custom: {
    50: '#6583a4',
    500: '#12547f',
    950: '#000000',
  },
}
SCSS
$custom: #12547f;
$custom-light: #6583a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12547f",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 127
  },
  "hsl": {
    "h": 203.67,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42877,
    "c": 0.09486,
    "h": 243.2
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#12547F
secondary
#B56938
accent
#8036F2
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #12547F

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

Preview Lab → · Contrast checker → · Palette generator →

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