#0C273B#0C273B

#0C273B is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.3% C 0.050 H 243.8°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#0C273B
RGBrgb(12, 39, 59)
HSLhsl(206, 66%, 14%)
HSVhsv(206, 80%, 23%)
CMYKcmyk(79.7%, 33.9%, 0%, 76.9%)
CIE-LABlab(14.65, -2.23, -15.81)
CIE-LCHlch(14.65, 15.97, 261.99°)
OKLaboklab(26.3% -0.0219 -0.0447)
OKLCHoklch(26.3% 0.05 243.8)
XYZxyz(1.6663, 1.8448, 4.4051)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C273B #3B200C
analogous
#0C3B38 #0C273B #0C103B
triadic
#0C273B #3B0C27 #273B0C
tetradic
#0C273B #380C3B #3B200C #103B0C
square
#0C273B #380C3B #3B200C #103B0C
split-complementary
#0C273B #3B0C10 #3B380C
monochromatic
#051119 #051119 #0C273B #16496E #216AA1

Accessibility & contrast

On white

15.34
#0C273B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C273B
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C273B#FFFFFF#000000##FFFFFF
##0C273B1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E273C
Deuteranopia (green-blind)
#17233B
Tritanopia (blue-blind)
#002C2E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c273b;
/* rgb */ color: rgb(12, 39, 59);
/* oklch */ color: oklch(26.3% 0.050 243.8);
Tailwind
colors: {
  custom: {
    50: '#526071',
    500: '#0c273b',
    950: '#000000',
  },
}
SCSS
$custom: #0c273b;
$custom-light: #526071;
$custom-dark: #000000;
JSON
{
  "hex": "#0c273b",
  "rgb": {
    "r": 12,
    "g": 39,
    "b": 59
  },
  "hsl": {
    "h": 205.532,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26301,
    "c": 0.04977,
    "h": 243.8
  },
  "luminance": 0.01845
}

Semantic roles & 50–950 ramp

primary
#0C273B
secondary
#774C2C
accent
#873FE9
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020507
muted
#78797A

Preview Lab

Preview with #0C273B

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

Preview Lab → · Contrast checker → · Palette generator →

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