#12437D#12437D

#12437D is a dark, moderate cyan. Relative luminance 0.056; OKLCH L 38.5% C 0.111 H 255.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#12437D
RGBrgb(18, 67, 125)
HSLhsl(213, 75%, 28%)
HSVhsv(213, 86%, 49%)
CMYKcmyk(85.6%, 46.4%, 0%, 51%)
CIE-LABlab(28.44, 7.06, -37.39)
CIE-LCHlch(28.44, 38.05, 280.69°)
OKLaboklab(38.5% -0.0279 -0.1073)
OKLCHoklch(38.5% 0.111 255.4)
XYZxyz(5.9569, 5.6228, 20.1694)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12437D #7D4C12
analogous
#12787D #12437D #16127D
triadic
#12437D #7D1243 #437D12
tetradic
#12437D #7D1278 #7D4C12 #127D16
square
#12437D #7D1278 #7D4C12 #127D16
split-complementary
#12437D #7D1612 #787D12
monochromatic
#040E1B #0A2648 #12437D #1A60B2 #297DE0

Accessibility & contrast

On white

9.88
#12437D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#12437D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12437D
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12437D#FFFFFF#000000##FFFFFF
##12437D1.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#0C3F7C
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #12437d;
/* rgb */ color: rgb(18, 67, 125);
/* oklch */ color: oklch(38.5% 0.111 255.4);
Tailwind
colors: {
  custom: {
    50: '#6476a3',
    500: '#12437d',
    950: '#000000',
  },
}
SCSS
$custom: #12437d;
$custom-light: #6476a3;
$custom-dark: #000000;
JSON
{
  "hex": "#12437d",
  "rgb": {
    "r": 18,
    "g": 67,
    "b": 125
  },
  "hsl": {
    "h": 212.523,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38495,
    "c": 0.11086,
    "h": 255.4
  },
  "luminance": 0.05624
}

Semantic roles & 50–950 ramp

primary
#12437D
secondary
#B37B38
accent
#9C36F1
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #12437D

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

Preview Lab → · Contrast checker → · Palette generator →

#12437D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva