#12415D#12415D

#12415D is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 35.8% C 0.069 H 239.5°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#12415D
RGBrgb(18, 65, 93)
HSLhsl(202, 68%, 22%)
HSVhsv(202, 81%, 36%)
CMYKcmyk(80.6%, 30.1%, 0%, 63.5%)
CIE-LABlab(25.86, -4.86, -21.10)
CIE-LCHlch(25.86, 21.65, 257.02°)
OKLaboklab(35.85% -0.0352 -0.0596)
OKLCHoklch(35.85% 0.069 239.5)
XYZxyz(4.1148, 4.6990, 11.0439)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12415D #5D2E12
analogous
#125D54 #12415D #121C5D
triadic
#12415D #5D1241 #415D12
tetradic
#12415D #54125D #5D2E12 #1C5D12
square
#12415D #54125D #5D2E12 #1C5D12
split-complementary
#12415D #5D121C #5D5412
monochromatic
#05121A #081D2A #12415D #1C6590 #2689C4

Accessibility & contrast

On white

10.82
#12415D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#12415D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12415D
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12415D#FFFFFF#000000##FFFFFF
##12415D1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34415E
Deuteranopia (green-blind)
#2A3A5D
Tritanopia (blue-blind)
#00484B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #12415d;
/* rgb */ color: rgb(18, 65, 93);
/* oklch */ color: oklch(35.8% 0.069 239.5);
Tailwind
colors: {
  custom: {
    50: '#5c758b',
    500: '#12415d',
    950: '#000000',
  },
}
SCSS
$custom: #12415d;
$custom-light: #5c758b;
$custom-dark: #000000;
JSON
{
  "hex": "#12415d",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 93
  },
  "hsl": {
    "h": 202.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.35846,
    "c": 0.06924,
    "h": 239.5
  },
  "luminance": 0.047
}

Semantic roles & 50–950 ramp

primary
#12415D
secondary
#955935
accent
#7E3DEA
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #12415D

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

Preview Lab → · Contrast checker → · Palette generator →

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