#12447E#12447E

#12447E is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.8% C 0.111 H 255.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#12447E
RGBrgb(18, 68, 126)
HSLhsl(212, 75%, 28%)
HSVhsv(212, 86%, 49%)
CMYKcmyk(85.7%, 46%, 0%, 50.6%)
CIE-LABlab(28.82, 6.79, -37.40)
CIE-LCHlch(28.82, 38.01, 280.29°)
OKLaboklab(38.81% -0.0285 -0.1073)
OKLCHoklch(38.81% 0.111 255.1)
XYZxyz(6.0811, 5.7684, 20.5275)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12447E #7E4C12
analogous
#127A7E #12447E #16127E
triadic
#12447E #7E1244 #447E12
tetradic
#12447E #7E127A #7E4C12 #127E16
square
#12447E #7E127A #7E4C12 #127E16
split-complementary
#12447E #7E1612 #7A7E12
monochromatic
#040E1B #0A2748 #12447E #1A61B4 #2A7EE1

Accessibility & contrast

On white

9.75
#12447E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#12447E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12447E
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12447E#FFFFFF#000000##FFFFFF
##12447E1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264980
Deuteranopia (green-blind)
#0E3F7D
Tritanopia (blue-blind)
#00525A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #12447e;
/* rgb */ color: rgb(18, 68, 126);
/* oklch */ color: oklch(38.8% 0.111 255.1);
Tailwind
colors: {
  custom: {
    50: '#6477a4',
    500: '#12447e',
    950: '#000000',
  },
}
SCSS
$custom: #12447e;
$custom-light: #6477a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12447e",
  "rgb": {
    "r": 18,
    "g": 68,
    "b": 126
  },
  "hsl": {
    "h": 212.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38812,
    "c": 0.11104,
    "h": 255.1
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#12447E
secondary
#B47A38
accent
#9B36F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #12447E

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

Preview Lab → · Contrast checker → · Palette generator →

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