#12485F#12485F

#12485F is a dark, moderate cyan. Relative luminance 0.056; OKLCH L 37.9% C 0.067 H 231.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#12485F
RGBrgb(18, 72, 95)
HSLhsl(198, 68%, 22%)
HSVhsv(198, 81%, 37%)
CMYKcmyk(81.1%, 24.2%, 0%, 62.7%)
CIE-LABlab(28.35, -8.54, -18.50)
CIE-LCHlch(28.35, 20.38, 245.22°)
OKLaboklab(37.86% -0.0421 -0.052)
OKLCHoklch(37.86% 0.067 231.1)
XYZxyz(4.6315, 5.5890, 11.6589)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12485F #5F2912
analogous
#125F50 #12485F #12225F
triadic
#12485F #5F1248 #485F12
tetradic
#12485F #50125F #5F2912 #225F12
square
#12485F #50125F #5F2912 #225F12
split-complementary
#12485F #5F1222 #5F5012
monochromatic
#05131A #08212C #12485F #1C6F92 #2596C6

Accessibility & contrast

On white

9.92
#12485F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#12485F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12485F
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12485F#FFFFFF#000000##FFFFFF
##12485F1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4760
Deuteranopia (green-blind)
#32405F
Tritanopia (blue-blind)
#004E50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #12485f;
/* rgb */ color: rgb(18, 72, 95);
/* oklch */ color: oklch(37.9% 0.067 231.1);
Tailwind
colors: {
  custom: {
    50: '#5d7b8c',
    500: '#12485f',
    950: '#000000',
  },
}
SCSS
$custom: #12485f;
$custom-light: #5d7b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#12485f",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 95
  },
  "hsl": {
    "h": 197.922,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.37862,
    "c": 0.06693,
    "h": 231.1
  },
  "luminance": 0.0559
}

Semantic roles & 50–950 ramp

primary
#12485F
secondary
#975336
accent
#713DEB
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #12485F

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

Preview Lab → · Contrast checker → · Palette generator →

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