#12447F#12447F

#12447F is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.9% C 0.112 H 255.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#12447F
RGBrgb(18, 68, 127)
HSLhsl(212, 75%, 28%)
HSVhsv(212, 86%, 50%)
CMYKcmyk(85.8%, 46.5%, 0%, 50.2%)
CIE-LABlab(28.89, 7.21, -37.92)
CIE-LCHlch(28.89, 38.60, 280.76°)
OKLaboklab(38.89% -0.0283 -0.1088)
OKLCHoklch(38.89% 0.112 255.4)
XYZxyz(6.1459, 5.7944, 20.8691)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12447F #7F4D12
analogous
#127A7F #12447F #16127F
triadic
#12447F #7F1244 #447F12
tetradic
#12447F #7F127A #7F4D12 #127F16
square
#12447F #7F127A #7F4D12 #127F16
split-complementary
#12447F #7F1612 #7A7F12
monochromatic
#040E1B #0A2749 #12447F #1A61B5 #2B7EE1

Accessibility & contrast

On white

9.73
#12447F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#12447F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12447F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12447F#FFFFFF#000000##FFFFFF
##12447F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254981
Deuteranopia (green-blind)
#0C407E
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #12447f;
/* rgb */ color: rgb(18, 68, 127);
/* oklch */ color: oklch(38.9% 0.112 255.4);
Tailwind
colors: {
  custom: {
    50: '#6577a4',
    500: '#12447f',
    950: '#000000',
  },
}
SCSS
$custom: #12447f;
$custom-light: #6577a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12447f",
  "rgb": {
    "r": 18,
    "g": 68,
    "b": 127
  },
  "hsl": {
    "h": 212.477,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38885,
    "c": 0.11246,
    "h": 255.4
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#12447F
secondary
#B57C38
accent
#9C36F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #12447F

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

Preview Lab → · Contrast checker → · Palette generator →

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