#12495F#12495F

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

Color values

HEX#12495F
RGBrgb(18, 73, 95)
HSLhsl(197, 68%, 22%)
HSVhsv(197, 81%, 37%)
CMYKcmyk(81.1%, 23.2%, 0%, 62.7%)
CIE-LABlab(28.69, -9.16, -17.97)
CIE-LCHlch(28.69, 20.17, 242.99°)
OKLaboklab(38.14% -0.0432 -0.0505)
OKLCHoklch(38.14% 0.066 229.5)
XYZxyz(4.6967, 5.7193, 11.6807)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12495F #5F2812
analogous
#125F4F #12495F #12225F
triadic
#12495F #5F1249 #495F12
tetradic
#12495F #4F125F #5F2812 #225F12
square
#12495F #4F125F #5F2812 #225F12
split-complementary
#12495F #5F1222 #5F4F12
monochromatic
#05141A #08212C #12495F #1C7192 #2598C6

Accessibility & contrast

On white

9.79
#12495F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12495F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12495F#FFFFFF#000000##FFFFFF
##12495F1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4860
Deuteranopia (green-blind)
#33405F
Tritanopia (blue-blind)
#004F50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #12495f;
/* rgb */ color: rgb(18, 73, 95);
/* oklch */ color: oklch(38.1% 0.066 229.5);
Tailwind
colors: {
  custom: {
    50: '#5d7b8c',
    500: '#12495f',
    950: '#000000',
  },
}
SCSS
$custom: #12495f;
$custom-light: #5d7b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#12495f",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 95
  },
  "hsl": {
    "h": 197.143,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.38135,
    "c": 0.06644,
    "h": 229.5
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#12495F
secondary
#975136
accent
#6F3DEB
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #12495F

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

Preview Lab → · Contrast checker → · Palette generator →

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