#0C3155#0C3155

#0C3155 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.8% C 0.077 H 251.4°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#0C3155
RGBrgb(12, 49, 85)
HSLhsl(210, 75%, 19%)
HSVhsv(210, 86%, 33%)
CMYKcmyk(85.9%, 42.4%, 0%, 66.7%)
CIE-LABlab(19.76, 1.89, -25.48)
CIE-LCHlch(19.76, 25.55, 274.25°)
OKLaboklab(30.84% -0.0245 -0.0727)
OKLCHoklch(30.84% 0.077 251.4)
XYZxyz(2.8890, 2.9303, 9.0059)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3155 #55300C
analogous
#0C5555 #0C3155 #0C0D55
triadic
#0C3155 #550C31 #31550C
tetradic
#0C3155 #550C55 #55300C #0D550C
square
#0C3155 #550C55 #55300C #0D550C
split-complementary
#0C3155 #550C0D #55550C
monochromatic
#040F1B #04121F #0C3155 #14508B #1B6FC0

Accessibility & contrast

On white

13.24
#0C3155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0C3155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3155
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3155#FFFFFF#000000##FFFFFF
##0C31551.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203356
Deuteranopia (green-blind)
#142D54
Tritanopia (blue-blind)
#003A3E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0c3155;
/* rgb */ color: rgb(12, 49, 85);
/* oklch */ color: oklch(30.8% 0.077 251.4);
Tailwind
colors: {
  custom: {
    50: '#586885',
    500: '#0c3155',
    950: '#000000',
  },
}
SCSS
$custom: #0c3155;
$custom-light: #586885;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3155",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 85
  },
  "hsl": {
    "h": 209.589,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30839,
    "c": 0.07676,
    "h": 251.4
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#0C3155
secondary
#905E2D
accent
#9336F2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0C3155

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

Preview Lab → · Contrast checker → · Palette generator →

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