#0C495F#0C495F

#0C495F is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.0% C 0.069 H 228.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#0C495F
RGBrgb(12, 73, 95)
HSLhsl(196, 78%, 21%)
HSVhsv(196, 87%, 37%)
CMYKcmyk(87.4%, 23.2%, 0%, 62.7%)
CIE-LABlab(28.56, -9.88, -18.19)
CIE-LCHlch(28.56, 20.70, 241.50°)
OKLaboklab(37.99% -0.0458 -0.0512)
OKLCHoklch(37.99% 0.069 228.2)
XYZxyz(4.5989, 5.6689, 11.6761)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C495F #5F220C
analogous
#0C5F4B #0C495F #0C1F5F
triadic
#0C495F #5F0C49 #495F0C
tetradic
#0C495F #4B0C5F #5F220C #1F5F0C
square
#0C495F #4B0C5F #5F220C #1F5F0C
split-complementary
#0C495F #5F0C1F #5F4B0C
monochromatic
#03151B #051F29 #0C495F #137395 #1A9DCC

Accessibility & contrast

On white

9.84
#0C495F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#0C495F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C495F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C495F#FFFFFF#000000##FFFFFF
##0C495F1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c495f;
/* rgb */ color: rgb(12, 73, 95);
/* oklch */ color: oklch(38.0% 0.069 228.2);
Tailwind
colors: {
  custom: {
    50: '#5c7b8c',
    500: '#0c495f',
    950: '#000000',
  },
}
SCSS
$custom: #0c495f;
$custom-light: #5c7b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c495f",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 95
  },
  "hsl": {
    "h": 195.904,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.37992,
    "c": 0.06869,
    "h": 228.2
  },
  "luminance": 0.05669
}

Semantic roles & 50–950 ramp

primary
#0C495F
secondary
#994A2D
accent
#6734F4
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #0C495F

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

Preview Lab → · Contrast checker → · Palette generator →

#0C495F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva