#0C2F46#0C2F46

#0C2F46 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.3% C 0.058 H 241.7°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#0C2F46
RGBrgb(12, 47, 70)
HSLhsl(204, 71%, 16%)
HSVhsv(204, 83%, 27%)
CMYKcmyk(82.9%, 32.9%, 0%, 72.5%)
CIE-LABlab(18.16, -3.17, -17.91)
CIE-LCHlch(18.16, 18.19, 259.96°)
OKLaboklab(29.28% -0.0273 -0.0507)
OKLCHoklch(29.28% 0.058 241.7)
XYZxyz(2.2732, 2.5531, 6.1662)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F46 #46230C
analogous
#0C4640 #0C2F46 #0C1246
triadic
#0C2F46 #460C2F #2F460C
tetradic
#0C2F46 #400C46 #46230C #12460C
square
#0C2F46 #400C46 #46230C #12460C
split-complementary
#0C2F46 #460C12 #46400C
monochromatic
#04121A #04121A #0C2F46 #15527A #1E75AE

Accessibility & contrast

On white

13.90
#0C2F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0C2F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F46
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F46#FFFFFF#000000##FFFFFF
##0C2F461.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242F47
Deuteranopia (green-blind)
#1C2A46
Tritanopia (blue-blind)
#003537
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c2f46;
/* rgb */ color: rgb(12, 47, 70);
/* oklch */ color: oklch(29.3% 0.058 241.7);
Tailwind
colors: {
  custom: {
    50: '#546779',
    500: '#0c2f46',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f46;
$custom-light: #546779;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f46",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 70
  },
  "hsl": {
    "h": 203.793,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.29279,
    "c": 0.05755,
    "h": 241.7
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#0C2F46
secondary
#824E2C
accent
#813AED
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030609
muted
#787A7B

Preview Lab

Preview with #0C2F46

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

Preview Lab → · Contrast checker → · Palette generator →

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