#0C2F3F#0C2F3F

#0C2F3F is a dark, muted cyan. Relative luminance 0.025; OKLCH L 28.9% C 0.049 H 232.0°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#0C2F3F
RGBrgb(12, 47, 63)
HSLhsl(199, 68%, 15%)
HSVhsv(199, 81%, 25%)
CMYKcmyk(81%, 25.4%, 0%, 75.3%)
CIE-LABlab(17.78, -6.09, -13.71)
CIE-LCHlch(17.78, 15.00, 246.04°)
OKLaboklab(28.86% -0.0301 -0.0385)
OKLCHoklch(28.86% 0.049 232)
XYZxyz(2.0650, 2.4698, 5.0696)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F3F #3F1C0C
analogous
#0C3F36 #0C2F3F #0C153F
triadic
#0C2F3F #3F0C2F #2F3F0C
tetradic
#0C2F3F #360C3F #3F1C0C #153F0C
square
#0C2F3F #360C3F #3F1C0C #153F0C
split-complementary
#0C2F3F #3F0C15 #3F360C
monochromatic
#05131A #05131A #0C2F3F #165572 #207CA6

Accessibility & contrast

On white

14.06
#0C2F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0C2F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F3F
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F3F#FFFFFF#000000##FFFFFF
##0C2F3F1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272E40
Deuteranopia (green-blind)
#20293F
Tritanopia (blue-blind)
#003334
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c2f3f;
/* rgb */ color: rgb(12, 47, 63);
/* oklch */ color: oklch(28.9% 0.049 232.0);
Tailwind
colors: {
  custom: {
    50: '#536774',
    500: '#0c2f3f',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f3f;
$custom-light: #536774;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f3f",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 63
  },
  "hsl": {
    "h": 198.824,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.28857,
    "c": 0.04889,
    "h": 232
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#0C2F3F
secondary
#7B452C
accent
#743DEB
background
#F4F6F7
surface
#E8EBED
border
#C4C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #0C2F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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