#0C2A3D#0C2A3D

#0C2A3D is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.3% C 0.050 H 240.1°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#0C2A3D
RGBrgb(12, 42, 61)
HSLhsl(203, 67%, 14%)
HSVhsv(203, 80%, 24%)
CMYKcmyk(80.3%, 31.1%, 0%, 76.1%)
CIE-LABlab(15.85, -3.50, -15.32)
CIE-LCHlch(15.85, 15.72, 257.14°)
OKLaboklab(27.29% -0.0248 -0.0432)
OKLCHoklch(27.29% 0.05 240.1)
XYZxyz(1.8216, 2.0708, 4.7177)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A3D #3D1F0C
analogous
#0C3D38 #0C2A3D #0C123D
triadic
#0C2A3D #3D0C2A #2A3D0C
tetradic
#0C2A3D #380C3D #3D1F0C #123D0C
square
#0C2A3D #380C3D #3D1F0C #123D0C
split-complementary
#0C2A3D #3D0C12 #3D380C
monochromatic
#05121A #05121A #0C2A3D #164D70 #2070A3

Accessibility & contrast

On white

14.85
#0C2A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0C2A3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A3D
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A3D#FFFFFF#000000##FFFFFF
##0C2A3D1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212A3E
Deuteranopia (green-blind)
#1A253D
Tritanopia (blue-blind)
#002F31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2a3d;
/* rgb */ color: rgb(12, 42, 61);
/* oklch */ color: oklch(27.3% 0.050 240.1);
Tailwind
colors: {
  custom: {
    50: '#526372',
    500: '#0c2a3d',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a3d;
$custom-light: #526372;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a3d",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 61
  },
  "hsl": {
    "h": 203.265,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2729,
    "c": 0.04985,
    "h": 240.1
  },
  "luminance": 0.02071
}

Semantic roles & 50–950 ramp

primary
#0C2A3D
secondary
#794A2C
accent
#813EEA
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020508
muted
#78797B

Preview Lab

Preview with #0C2A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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