#0C475F#0C475F

#0C475F is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 37.4% C 0.070 H 231.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#0C475F
RGBrgb(12, 71, 95)
HSLhsl(197, 78%, 21%)
HSVhsv(197, 87%, 37%)
CMYKcmyk(87.4%, 25.3%, 0%, 62.7%)
CIE-LABlab(27.87, -8.63, -19.26)
CIE-LCHlch(27.87, 21.11, 245.85°)
OKLaboklab(37.44% -0.0437 -0.0543)
OKLCHoklch(37.44% 0.07 231.1)
XYZxyz(4.4696, 5.4103, 11.6330)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C475F #5F240C
analogous
#0C5F4D #0C475F #0C1E5F
triadic
#0C475F #5F0C47 #475F0C
tetradic
#0C475F #4D0C5F #5F240C #1E5F0C
square
#0C475F #4D0C5F #5F240C #1E5F0C
split-complementary
#0C475F #5F0C1E #5F4D0C
monochromatic
#03141B #051E29 #0C475F #137095 #1A98CC

Accessibility & contrast

On white

10.09
#0C475F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#0C475F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C475F
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C475F#FFFFFF#000000##FFFFFF
##0C475F1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4660
Deuteranopia (green-blind)
#303E5F
Tritanopia (blue-blind)
#004E4F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c475f;
/* rgb */ color: rgb(12, 71, 95);
/* oklch */ color: oklch(37.4% 0.070 231.1);
Tailwind
colors: {
  custom: {
    50: '#5c7a8c',
    500: '#0c475f',
    950: '#000000',
  },
}
SCSS
$custom: #0c475f;
$custom-light: #5c7a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c475f",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 95
  },
  "hsl": {
    "h": 197.349,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.37441,
    "c": 0.06969,
    "h": 231.1
  },
  "luminance": 0.05411
}

Semantic roles & 50–950 ramp

primary
#0C475F
secondary
#994D2D
accent
#6B34F4
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #0C475F

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

Preview Lab → · Contrast checker → · Palette generator →

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