#0C2745#0C2745

#0C2745 is a dark, moderate cyan. Relative luminance 0.020; OKLCH L 27.0% C 0.065 H 253.4°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#0C2745
RGBrgb(12, 39, 69)
HSLhsl(212, 70%, 16%)
HSVhsv(212, 83%, 27%)
CMYKcmyk(82.6%, 43.5%, 0%, 72.9%)
CIE-LABlab(15.27, 2.12, -21.79)
CIE-LCHlch(15.27, 21.89, 275.56°)
OKLaboklab(26.99% -0.0186 -0.0621)
OKLCHoklch(26.99% 0.065 253.4)
XYZxyz(1.9509, 1.9587, 5.9043)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2745 #452A0C
analogous
#0C4345 #0C2745 #0D0C45
triadic
#0C2745 #450C27 #27450C
tetradic
#0C2745 #450C43 #452A0C #0C450D
square
#0C2745 #450C43 #452A0C #0C450D
split-complementary
#0C2745 #450D0C #43450C
monochromatic
#050F1A #050F1A #0C2745 #154479 #1E62AD

Accessibility & contrast

On white

15.09
#0C2745 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0C2745 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2745
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2745#FFFFFF#000000##FFFFFF
##0C27451.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192946
Deuteranopia (green-blind)
#102444
Tritanopia (blue-blind)
#002E32
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2745;
/* rgb */ color: rgb(12, 39, 69);
/* oklch */ color: oklch(27.0% 0.065 253.4);
Tailwind
colors: {
  custom: {
    50: '#546079',
    500: '#0c2745',
    950: '#000000',
  },
}
SCSS
$custom: #0c2745;
$custom-light: #546079;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2745",
  "rgb": {
    "r": 12,
    "g": 39,
    "b": 69
  },
  "hsl": {
    "h": 211.579,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26988,
    "c": 0.06485,
    "h": 253.4
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

primary
#0C2745
secondary
#81592C
accent
#993BED
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0C2745

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

Preview Lab → · Contrast checker → · Palette generator →

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