#12415E#12415E

#12415E is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 35.9% C 0.070 H 240.4°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#12415E
RGBrgb(18, 65, 94)
HSLhsl(203, 68%, 22%)
HSVhsv(203, 81%, 37%)
CMYKcmyk(80.9%, 30.9%, 0%, 63.1%)
CIE-LABlab(25.91, -4.46, -21.67)
CIE-LCHlch(25.91, 22.12, 258.37°)
OKLaboklab(35.91% -0.0348 -0.0613)
OKLCHoklch(35.91% 0.07 240.4)
XYZxyz(4.1593, 4.7169, 11.2787)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12415E #5E2F12
analogous
#125E55 #12415E #121B5E
triadic
#12415E #5E1241 #415E12
tetradic
#12415E #55125E #5E2F12 #1B5E12
square
#12415E #55125E #5E2F12 #1B5E12
split-complementary
#12415E #5E121B #5E5512
monochromatic
#05121A #081D2B #12415E #1C6591 #2688C5

Accessibility & contrast

On white

10.81
#12415E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12415E
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12415E#FFFFFF#000000##FFFFFF
##12415E1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33415F
Deuteranopia (green-blind)
#293A5D
Tritanopia (blue-blind)
#00484B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #12415e;
/* rgb */ color: rgb(18, 65, 94);
/* oklch */ color: oklch(35.9% 0.070 240.4);
Tailwind
colors: {
  custom: {
    50: '#5d758c',
    500: '#12415e',
    950: '#000000',
  },
}
SCSS
$custom: #12415e;
$custom-light: #5d758c;
$custom-dark: #000000;
JSON
{
  "hex": "#12415e",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 94
  },
  "hsl": {
    "h": 202.895,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.35905,
    "c": 0.07047,
    "h": 240.4
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#12415E
secondary
#965A35
accent
#7F3DEB
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #12415E

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

Preview Lab → · Contrast checker → · Palette generator →

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