#0C4B5F#0C4B5F

#0C4B5F is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.5% C 0.068 H 225.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#0C4B5F
RGBrgb(12, 75, 95)
HSLhsl(194, 78%, 21%)
HSVhsv(194, 87%, 37%)
CMYKcmyk(87.4%, 21.1%, 0%, 62.7%)
CIE-LABlab(29.25, -11.10, -17.12)
CIE-LCHlch(29.25, 20.41, 237.04°)
OKLaboklab(38.54% -0.048 -0.0481)
OKLCHoklch(38.54% 0.068 225.1)
XYZxyz(4.7324, 5.9359, 11.7206)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B5F #5F200C
analogous
#0C5F49 #0C4B5F #0C215F
triadic
#0C4B5F #5F0C4B #4B5F0C
tetradic
#0C4B5F #490C5F #5F200C #215F0C
square
#0C4B5F #490C5F #5F200C #215F0C
split-complementary
#0C4B5F #5F0C21 #5F490C
monochromatic
#03151B #052029 #0C4B5F #137695 #1AA1CC

Accessibility & contrast

On white

9.60
#0C4B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#0C4B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4B5F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B5F#FFFFFF#000000##FFFFFF
##0C4B5F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404960
Deuteranopia (green-blind)
#35425F
Tritanopia (blue-blind)
#005152
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0c4b5f;
/* rgb */ color: rgb(12, 75, 95);
/* oklch */ color: oklch(38.5% 0.068 225.1);
Tailwind
colors: {
  custom: {
    50: '#5c7d8c',
    500: '#0c4b5f',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b5f;
$custom-light: #5c7d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b5f",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 95
  },
  "hsl": {
    "h": 194.458,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.38544,
    "c": 0.06791,
    "h": 225.1
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#0C4B5F
secondary
#99472D
accent
#6234F4
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #0C4B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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