#0C2E40#0C2E40

#0C2E40 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.6% C 0.051 H 235.8°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#0C2E40
RGBrgb(12, 46, 64)
HSLhsl(201, 68%, 15%)
HSVhsv(201, 81%, 25%)
CMYKcmyk(81.2%, 28.1%, 0%, 74.9%)
CIE-LABlab(17.47, -5.00, -14.88)
CIE-LCHlch(17.47, 15.70, 251.41°)
OKLaboklab(28.63% -0.0285 -0.0419)
OKLCHoklch(28.63% 0.051 235.8)
XYZxyz(2.0537, 2.4021, 5.2049)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E40 #401E0C
analogous
#0C4038 #0C2E40 #0C1440
triadic
#0C2E40 #400C2E #2E400C
tetradic
#0C2E40 #380C40 #401E0C #14400C
square
#0C2E40 #380C40 #401E0C #14400C
split-complementary
#0C2E40 #400C14 #40380C
monochromatic
#05131A #05131A #0C2E40 #165374 #1F78A7

Accessibility & contrast

On white

14.19
#0C2E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0C2E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E40
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E40#FFFFFF#000000##FFFFFF
##0C2E401.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252E41
Deuteranopia (green-blind)
#1E2940
Tritanopia (blue-blind)
#003334
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2e40;
/* rgb */ color: rgb(12, 46, 64);
/* oklch */ color: oklch(28.6% 0.051 235.8);
Tailwind
colors: {
  custom: {
    50: '#536675',
    500: '#0c2e40',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e40;
$custom-light: #536675;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e40",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 64
  },
  "hsl": {
    "h": 200.769,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.28626,
    "c": 0.05066,
    "h": 235.8
  },
  "luminance": 0.02402
}

Semantic roles & 50–950 ramp

primary
#0C2E40
secondary
#7C482C
accent
#793DEB
background
#F5F6F7
surface
#E8EBED
border
#C4C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #0C2E40

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

Preview Lab → · Contrast checker → · Palette generator →

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