#0C2747#0C2747

#0C2747 is a dark, moderate cyan. Relative luminance 0.020; OKLCH L 27.1% C 0.068 H 254.6°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#0C2747
RGBrgb(12, 39, 71)
HSLhsl(213, 71%, 16%)
HSVhsv(213, 83%, 28%)
CMYKcmyk(83.1%, 45.1%, 0%, 72.2%)
CIE-LABlab(15.40, 3.00, -22.95)
CIE-LCHlch(15.40, 23.15, 277.46°)
OKLaboklab(27.14% -0.018 -0.0655)
OKLCHoklch(27.14% 0.068 254.6)
XYZxyz(2.0140, 1.9839, 6.2368)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2747 #472C0C
analogous
#0C4547 #0C2747 #0F0C47
triadic
#0C2747 #470C27 #27470C
tetradic
#0C2747 #470C45 #472C0C #0C470F
square
#0C2747 #470C45 #472C0C #0C470F
split-complementary
#0C2747 #470F0C #45470C
monochromatic
#040E1A #040E1A #0C2747 #15447B #1E61B0

Accessibility & contrast

On white

15.03
#0C2747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0C2747 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2747
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2747#FFFFFF#000000##FFFFFF
##0C27471.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182948
Deuteranopia (green-blind)
#0E2446
Tritanopia (blue-blind)
#002F33
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2747;
/* rgb */ color: rgb(12, 39, 71);
/* oklch */ color: oklch(27.1% 0.068 254.6);
Tailwind
colors: {
  custom: {
    50: '#55607a',
    500: '#0c2747',
    950: '#000000',
  },
}
SCSS
$custom: #0c2747;
$custom-light: #55607a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2747",
  "rgb": {
    "r": 12,
    "g": 39,
    "b": 71
  },
  "hsl": {
    "h": 212.542,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27136,
    "c": 0.06797,
    "h": 254.6
  },
  "luminance": 0.01984
}

Semantic roles & 50–950 ramp

primary
#0C2747
secondary
#835B2C
accent
#9C3AEE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0C2747

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

Preview Lab → · Contrast checker → · Palette generator →

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