#0C273D#0C273D

#0C273D is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.4% C 0.053 H 246.3°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#0C273D
RGBrgb(12, 39, 61)
HSLhsl(207, 67%, 14%)
HSVhsv(207, 80%, 24%)
CMYKcmyk(80.3%, 36.1%, 0%, 76.1%)
CIE-LABlab(14.77, -1.37, -17.03)
CIE-LCHlch(14.77, 17.08, 265.40°)
OKLaboklab(26.43% -0.0212 -0.0482)
OKLCHoklch(26.43% 0.053 246.3)
XYZxyz(1.7191, 1.8659, 4.6835)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C273D #3D220C
analogous
#0C3D3B #0C273D #0C0F3D
triadic
#0C273D #3D0C27 #273D0C
tetradic
#0C273D #3B0C3D #3D220C #0F3D0C
square
#0C273D #3B0C3D #3D220C #0F3D0C
split-complementary
#0C273D #3D0C0F #3D3B0C
monochromatic
#05101A #05101A #0C273D #164870 #2068A3

Accessibility & contrast

On white

15.29
#0C273D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0C273D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C273D
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C273D#FFFFFF#000000##FFFFFF
##0C273D1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D283E
Deuteranopia (green-blind)
#16233D
Tritanopia (blue-blind)
#002C2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c273d;
/* rgb */ color: rgb(12, 39, 61);
/* oklch */ color: oklch(26.4% 0.053 246.3);
Tailwind
colors: {
  custom: {
    50: '#526072',
    500: '#0c273d',
    950: '#000000',
  },
}
SCSS
$custom: #0c273d;
$custom-light: #526072;
$custom-dark: #000000;
JSON
{
  "hex": "#0c273d",
  "rgb": {
    "r": 12,
    "g": 39,
    "b": 61
  },
  "hsl": {
    "h": 206.939,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26431,
    "c": 0.05266,
    "h": 246.3
  },
  "luminance": 0.01866
}

Semantic roles & 50–950 ramp

primary
#0C273D
secondary
#794E2C
accent
#8B3EEA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020508
muted
#78797B

Preview Lab

Preview with #0C273D

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

Preview Lab → · Contrast checker → · Palette generator →

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