#0C2D3E#0C2D3E

#0C2D3E is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.2% C 0.049 H 234.9°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#0C2D3E
RGBrgb(12, 45, 62)
HSLhsl(200, 68%, 15%)
HSVhsv(200, 81%, 24%)
CMYKcmyk(80.6%, 27.4%, 0%, 75.7%)
CIE-LABlab(17.00, -5.15, -14.23)
CIE-LCHlch(17.00, 15.13, 250.10°)
OKLaboklab(28.22% -0.0281 -0.04)
OKLCHoklch(28.22% 0.049 234.9)
XYZxyz(1.9592, 2.3025, 4.8977)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D3E #3E1D0C
analogous
#0C3E36 #0C2D3E #0C143E
triadic
#0C2D3E #3E0C2D #2D3E0C
tetradic
#0C2D3E #360C3E #3E1D0C #143E0C
square
#0C2D3E #360C3E #3E1D0C #143E0C
split-complementary
#0C2D3E #3E0C14 #3E360C
monochromatic
#05131A #05131A #0C2D3E #165271 #2077A5

Accessibility & contrast

On white

14.38
#0C2D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0C2D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D3E
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D3E#FFFFFF#000000##FFFFFF
##0C2D3E1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252D3F
Deuteranopia (green-blind)
#1E283E
Tritanopia (blue-blind)
#003133
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2d3e;
/* rgb */ color: rgb(12, 45, 62);
/* oklch */ color: oklch(28.2% 0.049 234.9);
Tailwind
colors: {
  custom: {
    50: '#536573',
    500: '#0c2d3e',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d3e;
$custom-light: #536573;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d3e",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 62
  },
  "hsl": {
    "h": 200.4,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.28218,
    "c": 0.04891,
    "h": 234.9
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#0C2D3E
secondary
#7A462C
accent
#783DEA
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#030508
muted
#787A7B

Preview Lab

Preview with #0C2D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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