#0C4E5F#0C4E5F

#0C4E5F is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 39.4% C 0.067 H 220.4°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#0C4E5F
RGBrgb(12, 78, 95)
HSLhsl(192, 78%, 21%)
HSVhsv(192, 87%, 37%)
CMYKcmyk(87.4%, 17.9%, 0%, 62.7%)
CIE-LABlab(30.28, -12.90, -15.53)
CIE-LCHlch(30.28, 20.19, 230.28°)
OKLaboklab(39.38% -0.0512 -0.0435)
OKLCHoklch(39.38% 0.067 220.4)
XYZxyz(4.9407, 6.3525, 11.7900)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4E5F #5F1D0C
analogous
#0C5F46 #0C4E5F #0C245F
triadic
#0C4E5F #5F0C4E #4E5F0C
tetradic
#0C4E5F #460C5F #5F1D0C #245F0C
square
#0C4E5F #460C5F #5F1D0C #245F0C
split-complementary
#0C4E5F #5F0C24 #5F460C
monochromatic
#03161B #052129 #0C4E5F #137B95 #1AA7CC

Accessibility & contrast

On white

9.25
#0C4E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#0C4E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4E5F
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4E5F#FFFFFF#000000##FFFFFF
##0C4E5F1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C60
Deuteranopia (green-blind)
#39445F
Tritanopia (blue-blind)
#005353
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0c4e5f;
/* rgb */ color: rgb(12, 78, 95);
/* oklch */ color: oklch(39.4% 0.067 220.4);
Tailwind
colors: {
  custom: {
    50: '#5c7f8c',
    500: '#0c4e5f',
    950: '#000000',
  },
}
SCSS
$custom: #0c4e5f;
$custom-light: #5c7f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4e5f",
  "rgb": {
    "r": 12,
    "g": 78,
    "b": 95
  },
  "hsl": {
    "h": 192.289,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39375,
    "c": 0.06715,
    "h": 220.4
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#0C4E5F
secondary
#99442D
accent
#5B34F4
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #0C4E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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