#0C3F51#0C3F51

#0C3F51 is a dark, muted cyan. Relative luminance 0.042; OKLCH L 34.4% C 0.060 H 226.8°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#0C3F51
RGBrgb(12, 63, 81)
HSLhsl(196, 74%, 18%)
HSVhsv(196, 85%, 32%)
CMYKcmyk(85.2%, 22.2%, 0%, 68.2%)
CIE-LABlab(24.41, -9.20, -15.54)
CIE-LCHlch(24.41, 18.06, 239.36°)
OKLaboklab(34.45% -0.0409 -0.0436)
OKLCHoklch(34.45% 0.06 226.8)
XYZxyz(3.4137, 4.2268, 8.4189)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3F51 #511E0C
analogous
#0C5140 #0C3F51 #0C1C51
triadic
#0C3F51 #510C3F #3F510C
tetradic
#0C3F51 #400C51 #511E0C #1C510C
square
#0C3F51 #400C51 #511E0C #1C510C
split-complementary
#0C3F51 #510C1C #51400C
monochromatic
#04151B #04161C #0C3F51 #146886 #1C92BC

Accessibility & contrast

On white

11.38
#0C3F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#0C3F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3F51
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3F51#FFFFFF#000000##FFFFFF
##0C3F511.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353E52
Deuteranopia (green-blind)
#2C3751
Tritanopia (blue-blind)
#004445
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0c3f51;
/* rgb */ color: rgb(12, 63, 81);
/* oklch */ color: oklch(34.4% 0.060 226.8);
Tailwind
colors: {
  custom: {
    50: '#587482',
    500: '#0c3f51',
    950: '#000000',
  },
}
SCSS
$custom: #0c3f51;
$custom-light: #587482;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3f51",
  "rgb": {
    "r": 12,
    "g": 63,
    "b": 81
  },
  "hsl": {
    "h": 195.652,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.34446,
    "c": 0.05982,
    "h": 226.8
  },
  "luminance": 0.04227
}

Semantic roles & 50–950 ramp

primary
#0C3F51
secondary
#8C452C
accent
#6737F1
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #0C3F51

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

Preview Lab → · Contrast checker → · Palette generator →

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