#0C3B51#0C3B51

#0C3B51 is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.3% C 0.062 H 233.9°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#0C3B51
RGBrgb(12, 59, 81)
HSLhsl(199, 74%, 18%)
HSVhsv(199, 85%, 32%)
CMYKcmyk(85.2%, 27.2%, 0%, 68.2%)
CIE-LABlab(23.00, -6.64, -17.73)
CIE-LCHlch(23.00, 18.93, 249.46°)
OKLaboklab(33.32% -0.0365 -0.05)
OKLCHoklch(33.32% 0.062 233.9)
XYZxyz(3.2002, 3.7998, 8.3478)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3B51 #51220C
analogous
#0C5144 #0C3B51 #0C1851
triadic
#0C3B51 #510C3B #3B510C
tetradic
#0C3B51 #440C51 #51220C #18510C
square
#0C3B51 #440C51 #51220C #18510C
split-complementary
#0C3B51 #510C18 #51440C
monochromatic
#04131B #04141C #0C3B51 #146286 #1C89BC

Accessibility & contrast

On white

11.93
#0C3B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0C3B51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3B51
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3B51#FFFFFF#000000##FFFFFF
##0C3B511.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303A52
Deuteranopia (green-blind)
#273451
Tritanopia (blue-blind)
#004142
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0c3b51;
/* rgb */ color: rgb(12, 59, 81);
/* oklch */ color: oklch(33.3% 0.062 233.9);
Tailwind
colors: {
  custom: {
    50: '#587082',
    500: '#0c3b51',
    950: '#000000',
  },
}
SCSS
$custom: #0c3b51;
$custom-light: #587082;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3b51",
  "rgb": {
    "r": 12,
    "g": 59,
    "b": 81
  },
  "hsl": {
    "h": 199.13,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3332,
    "c": 0.06187,
    "h": 233.9
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#0C3B51
secondary
#8C4B2C
accent
#7237F1
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #0C3B51

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

Preview Lab → · Contrast checker → · Palette generator →

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