#0C2D40#0C2D40

#0C2D40 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.3% C 0.051 H 237.9°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#0C2D40
RGBrgb(12, 45, 64)
HSLhsl(202, 68%, 15%)
HSVhsv(202, 81%, 25%)
CMYKcmyk(81.2%, 29.7%, 0%, 74.9%)
CIE-LABlab(17.11, -4.32, -15.44)
CIE-LCHlch(17.11, 16.04, 254.37°)
OKLaboklab(28.34% -0.0273 -0.0435)
OKLCHoklch(28.34% 0.051 237.9)
XYZxyz(2.0151, 2.3249, 5.1920)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D40 #401F0C
analogous
#0C4039 #0C2D40 #0C1340
triadic
#0C2D40 #400C2D #2D400C
tetradic
#0C2D40 #390C40 #401F0C #13400C
square
#0C2D40 #390C40 #401F0C #13400C
split-complementary
#0C2D40 #400C13 #40390C
monochromatic
#05121A #05121A #0C2D40 #165174 #1F75A7

Accessibility & contrast

On white

14.33
#0C2D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0C2D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D40
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D40#FFFFFF#000000##FFFFFF
##0C2D401.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242D41
Deuteranopia (green-blind)
#1D2840
Tritanopia (blue-blind)
#003234
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2d40;
/* rgb */ color: rgb(12, 45, 64);
/* oklch */ color: oklch(28.3% 0.051 237.9);
Tailwind
colors: {
  custom: {
    50: '#536575',
    500: '#0c2d40',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d40;
$custom-light: #536575;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d40",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 64
  },
  "hsl": {
    "h": 201.923,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.28338,
    "c": 0.05138,
    "h": 237.9
  },
  "luminance": 0.02325
}

Semantic roles & 50–950 ramp

primary
#0C2D40
secondary
#7C492C
accent
#7C3DEB
background
#F5F6F7
surface
#E8EBED
border
#C4C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #0C2D40

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

Preview Lab → · Contrast checker → · Palette generator →

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