#0C485F#0C485F

#0C485F is a dark, moderate cyan. Relative luminance 0.055; OKLCH L 37.7% C 0.069 H 229.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#0C485F
RGBrgb(12, 72, 95)
HSLhsl(197, 78%, 21%)
HSVhsv(197, 87%, 37%)
CMYKcmyk(87.4%, 24.2%, 0%, 62.7%)
CIE-LABlab(28.22, -9.26, -18.72)
CIE-LCHlch(28.22, 20.89, 243.69°)
OKLaboklab(37.72% -0.0448 -0.0527)
OKLCHoklch(37.72% 0.069 229.7)
XYZxyz(4.5337, 5.5385, 11.6544)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C485F #5F230C
analogous
#0C5F4C #0C485F #0C1E5F
triadic
#0C485F #5F0C48 #485F0C
tetradic
#0C485F #4C0C5F #5F230C #1E5F0C
square
#0C485F #4C0C5F #5F230C #1E5F0C
split-complementary
#0C485F #5F0C1E #5F4C0C
monochromatic
#03151B #051F29 #0C485F #137195 #1A9ACC

Accessibility & contrast

On white

9.96
#0C485F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#0C485F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C485F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C485F#FFFFFF#000000##FFFFFF
##0C485F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c485f;
/* rgb */ color: rgb(12, 72, 95);
/* oklch */ color: oklch(37.7% 0.069 229.7);
Tailwind
colors: {
  custom: {
    50: '#5c7b8c',
    500: '#0c485f',
    950: '#000000',
  },
}
SCSS
$custom: #0c485f;
$custom-light: #5c7b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c485f",
  "rgb": {
    "r": 12,
    "g": 72,
    "b": 95
  },
  "hsl": {
    "h": 196.627,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.37716,
    "c": 0.06917,
    "h": 229.7
  },
  "luminance": 0.05539
}

Semantic roles & 50–950 ramp

primary
#0C485F
secondary
#994B2D
accent
#6934F4
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #0C485F

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

Preview Lab → · Contrast checker → · Palette generator →

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