#0C274A#0C274A

#0C274A is a dark, moderate cyan. Relative luminance 0.020; OKLCH L 27.4% C 0.073 H 256.3°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#0C274A
RGBrgb(12, 39, 74)
HSLhsl(214, 72%, 17%)
HSVhsv(214, 84%, 29%)
CMYKcmyk(83.8%, 47.3%, 0%, 71%)
CIE-LABlab(15.61, 4.34, -24.68)
CIE-LCHlch(15.61, 25.06, 279.96°)
OKLaboklab(27.36% -0.0172 -0.0706)
OKLCHoklch(27.36% 0.073 256.3)
XYZxyz(2.1127, 2.0234, 6.7564)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C274A #4A2F0C
analogous
#0C464A #0C274A #100C4A
triadic
#0C274A #4A0C27 #274A0C
tetradic
#0C274A #4A0C46 #4A2F0C #0C4A10
square
#0C274A #4A0C46 #4A2F0C #0C4A10
split-complementary
#0C274A #4A100C #464A0C
monochromatic
#040E1A #040E1A #0C274A #15437F #1D5FB3

Accessibility & contrast

On white

14.95
#0C274A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C274A
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C274A#FFFFFF#000000##FFFFFF
##0C274A1.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162A4B
Deuteranopia (green-blind)
#0B2449
Tritanopia (blue-blind)
#002F34
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c274a;
/* rgb */ color: rgb(12, 39, 74);
/* oklch */ color: oklch(27.4% 0.073 256.3);
Tailwind
colors: {
  custom: {
    50: '#55607d',
    500: '#0c274a',
    950: '#000000',
  },
}
SCSS
$custom: #0c274a;
$custom-light: #55607d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c274a",
  "rgb": {
    "r": 12,
    "g": 39,
    "b": 74
  },
  "hsl": {
    "h": 213.871,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27364,
    "c": 0.07269,
    "h": 256.3
  },
  "luminance": 0.02024
}

Semantic roles & 50–950 ramp

primary
#0C274A
secondary
#865F2C
accent
#A039EF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0C274A

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

Preview Lab → · Contrast checker → · Palette generator →

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