#12495E#12495E

#12495E is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.1% C 0.065 H 228.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#12495E
RGBrgb(18, 73, 94)
HSLhsl(197, 68%, 22%)
HSVhsv(197, 81%, 37%)
CMYKcmyk(80.9%, 22.3%, 0%, 63.1%)
CIE-LABlab(28.65, -9.55, -17.41)
CIE-LCHlch(28.65, 19.85, 241.25°)
OKLaboklab(38.08% -0.0436 -0.0489)
OKLCHoklch(38.08% 0.065 228.3)
XYZxyz(4.6516, 5.7013, 11.4428)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12495E #5E2712
analogous
#125E4D #12495E #12235E
triadic
#12495E #5E1249 #495E12
tetradic
#12495E #4D125E #5E2712 #235E12
square
#12495E #4D125E #5E2712 #235E12
split-complementary
#12495E #5E1223 #5E4D12
monochromatic
#05141A #08212B #12495E #1C7191 #2699C5

Accessibility & contrast

On white

9.81
#12495E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#12495E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12495E
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12495E#FFFFFF#000000##FFFFFF
##12495E1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E485F
Deuteranopia (green-blind)
#34405E
Tritanopia (blue-blind)
#004F50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #12495e;
/* rgb */ color: rgb(18, 73, 94);
/* oklch */ color: oklch(38.1% 0.065 228.3);
Tailwind
colors: {
  custom: {
    50: '#5d7b8b',
    500: '#12495e',
    950: '#000000',
  },
}
SCSS
$custom: #12495e;
$custom-light: #5d7b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#12495e",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 94
  },
  "hsl": {
    "h": 196.579,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.38082,
    "c": 0.06549,
    "h": 228.3
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#12495E
secondary
#965035
accent
#6D3DEB
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #12495E

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

Preview Lab → · Contrast checker → · Palette generator →

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