#12417C#12417C

#12417C is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 37.9% C 0.112 H 256.3°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#12417C
RGBrgb(18, 65, 124)
HSLhsl(213, 75%, 28%)
HSVhsv(213, 85%, 49%)
CMYKcmyk(85.5%, 47.6%, 0%, 51.4%)
CIE-LABlab(27.75, 8.02, -37.88)
CIE-LCHlch(27.75, 38.72, 281.95°)
OKLaboklab(37.94% -0.0264 -0.1088)
OKLCHoklch(37.94% 0.112 256.3)
XYZxyz(5.7765, 5.3637, 19.7957)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12417C #7C4D12
analogous
#12767C #12417C #18127C
triadic
#12417C #7C1241 #417C12
tetradic
#12417C #7C1276 #7C4D12 #127C18
square
#12417C #7C1276 #7C4D12 #127C18
split-complementary
#12417C #7C1812 #767C12
monochromatic
#040E1B #0A2547 #12417C #1A5DB1 #297AE0

Accessibility & contrast

On white

10.13
#12417C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#12417C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12417C
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12417C#FFFFFF#000000##FFFFFF
##12417C1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21477E
Deuteranopia (green-blind)
#063D7B
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #12417c;
/* rgb */ color: rgb(18, 65, 124);
/* oklch */ color: oklch(37.9% 0.112 256.3);
Tailwind
colors: {
  custom: {
    50: '#6475a2',
    500: '#12417c',
    950: '#000000',
  },
}
SCSS
$custom: #12417c;
$custom-light: #6475a2;
$custom-dark: #000000;
JSON
{
  "hex": "#12417c",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 213.396,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37937,
    "c": 0.11194,
    "h": 256.3
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

primary
#12417C
secondary
#B27C38
accent
#9E37F1
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #12417C

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

Preview Lab → · Contrast checker → · Palette generator →

#12417C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva