#0C3055#0C3055

#0C3055 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.6% C 0.078 H 252.5°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#0C3055
RGBrgb(12, 48, 85)
HSLhsl(210, 75%, 19%)
HSVhsv(210, 86%, 33%)
CMYKcmyk(85.9%, 43.5%, 0%, 66.7%)
CIE-LABlab(19.42, 2.61, -26.02)
CIE-LCHlch(19.42, 26.15, 275.72°)
OKLaboklab(30.57% -0.0235 -0.0744)
OKLCHoklch(30.57% 0.078 252.5)
XYZxyz(2.8476, 2.8476, 8.9921)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3055 #55310C
analogous
#0C5555 #0C3055 #0D0C55
triadic
#0C3055 #550C30 #30550C
tetradic
#0C3055 #550C55 #55310C #0C550D
square
#0C3055 #550C55 #55310C #0C550D
split-complementary
#0C3055 #550D0C #55550C
monochromatic
#040F1B #04121F #0C3055 #144E8B #1B6DC0

Accessibility & contrast

On white

13.38
#0C3055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#0C3055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3055
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3055#FFFFFF#000000##FFFFFF
##0C30551.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3356
Deuteranopia (green-blind)
#122C54
Tritanopia (blue-blind)
#00393E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0c3055;
/* rgb */ color: rgb(12, 48, 85);
/* oklch */ color: oklch(30.6% 0.078 252.5);
Tailwind
colors: {
  custom: {
    50: '#586785',
    500: '#0c3055',
    950: '#000000',
  },
}
SCSS
$custom: #0c3055;
$custom-light: #586785;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3055",
  "rgb": {
    "r": 12,
    "g": 48,
    "b": 85
  },
  "hsl": {
    "h": 210.411,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30574,
    "c": 0.07798,
    "h": 252.5
  },
  "luminance": 0.02848
}

Semantic roles & 50–950 ramp

primary
#0C3055
secondary
#905F2D
accent
#9536F2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0C3055

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

Preview Lab → · Contrast checker → · Palette generator →

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