#0C2F3D#0C2F3D

#0C2F3D is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.7% C 0.047 H 228.4°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#0C2F3D
RGBrgb(12, 47, 61)
HSLhsl(197, 67%, 14%)
HSVhsv(197, 80%, 24%)
CMYKcmyk(80.3%, 23%, 0%, 76.1%)
CIE-LABlab(17.68, -6.91, -12.48)
CIE-LCHlch(17.68, 14.27, 241.05°)
OKLaboklab(28.74% -0.031 -0.035)
OKLCHoklch(28.74% 0.047 228.4)
XYZxyz(2.0101, 2.4479, 4.7805)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F3D #3D1A0C
analogous
#0C3D33 #0C2F3D #0C173D
triadic
#0C2F3D #3D0C2F #2F3D0C
tetradic
#0C2F3D #330C3D #3D1A0C #173D0C
square
#0C2F3D #330C3D #3D1A0C #173D0C
split-complementary
#0C2F3D #3D0C17 #3D330C
monochromatic
#05141A #05141A #0C2F3D #165670 #207EA3

Accessibility & contrast

On white

14.10
#0C2F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2F3D
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F3D#FFFFFF#000000##FFFFFF
##0C2F3D1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282E3E
Deuteranopia (green-blind)
#21293D
Tritanopia (blue-blind)
#003334
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2f3d;
/* rgb */ color: rgb(12, 47, 61);
/* oklch */ color: oklch(28.7% 0.047 228.4);
Tailwind
colors: {
  custom: {
    50: '#536772',
    500: '#0c2f3d',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f3d;
$custom-light: #536772;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f3d",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 61
  },
  "hsl": {
    "h": 197.143,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.28744,
    "c": 0.04676,
    "h": 228.4
  },
  "luminance": 0.02448
}

Semantic roles & 50–950 ramp

primary
#0C2F3D
secondary
#79422C
accent
#6F3EEA
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#030608
muted
#787A7B

Preview Lab

Preview with #0C2F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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