#0C3051#0C3051

#0C3051 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.3% C 0.072 H 250.0°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#0C3051
RGBrgb(12, 48, 81)
HSLhsl(209, 74%, 18%)
HSVhsv(209, 85%, 32%)
CMYKcmyk(85.2%, 40.7%, 0%, 68.2%)
CIE-LABlab(19.16, 0.86, -23.76)
CIE-LCHlch(19.16, 23.77, 272.08°)
OKLaboklab(30.29% -0.0246 -0.0677)
OKLCHoklch(30.29% 0.072 250)
XYZxyz(2.6932, 2.7858, 8.1788)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3051 #512D0C
analogous
#0C514F #0C3051 #0C0D51
triadic
#0C3051 #510C30 #30510C
tetradic
#0C3051 #4F0C51 #512D0C #0D510C
square
#0C3051 #4F0C51 #512D0C #0D510C
split-complementary
#0C3051 #510C0D #514F0C
monochromatic
#04101B #04101C #0C3051 #145086 #1C6FBC

Accessibility & contrast

On white

13.49
#0C3051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#0C3051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3051
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3051#FFFFFF#000000##FFFFFF
##0C30511.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203252
Deuteranopia (green-blind)
#162C50
Tritanopia (blue-blind)
#00383C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0c3051;
/* rgb */ color: rgb(12, 48, 81);
/* oklch */ color: oklch(30.3% 0.072 250.0);
Tailwind
colors: {
  custom: {
    50: '#576782',
    500: '#0c3051',
    950: '#000000',
  },
}
SCSS
$custom: #0c3051;
$custom-light: #576782;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3051",
  "rgb": {
    "r": 12,
    "g": 48,
    "b": 81
  },
  "hsl": {
    "h": 208.696,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30288,
    "c": 0.07206,
    "h": 250
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#0C3051
secondary
#8C5A2C
accent
#9037F1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0C3051

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

Preview Lab → · Contrast checker → · Palette generator →

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