#0C2B40#0C2B40

#0C2B40 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.8% C 0.053 H 242.0°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#0C2B40
RGBrgb(12, 43, 64)
HSLhsl(204, 68%, 15%)
HSVhsv(204, 81%, 25%)
CMYKcmyk(81.2%, 32.8%, 0%, 74.9%)
CIE-LABlab(16.38, -2.93, -16.57)
CIE-LCHlch(16.38, 16.83, 259.97°)
OKLaboklab(27.77% -0.0249 -0.0468)
OKLCHoklch(27.77% 0.053 242)
XYZxyz(1.9406, 2.1759, 5.1672)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B40 #40210C
analogous
#0C403B #0C2B40 #0C1140
triadic
#0C2B40 #400C2B #2B400C
tetradic
#0C2B40 #3B0C40 #40210C #11400C
square
#0C2B40 #3B0C40 #40210C #11400C
split-complementary
#0C2B40 #400C11 #403B0C
monochromatic
#05111A #05111A #0C2B40 #164E74 #1F70A7

Accessibility & contrast

On white

14.63
#0C2B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0C2B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B40
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B40#FFFFFF#000000##FFFFFF
##0C2B401.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B41
Deuteranopia (green-blind)
#1A2640
Tritanopia (blue-blind)
#003032
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2b40;
/* rgb */ color: rgb(12, 43, 64);
/* oklch */ color: oklch(27.8% 0.053 242.0);
Tailwind
colors: {
  custom: {
    50: '#536475',
    500: '#0c2b40',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b40;
$custom-light: #536475;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b40",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 64
  },
  "hsl": {
    "h": 204.231,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27765,
    "c": 0.05303,
    "h": 242
  },
  "luminance": 0.02176
}

Semantic roles & 50–950 ramp

primary
#0C2B40
secondary
#7C4C2C
accent
#833DEB
background
#F4F5F7
surface
#E8EAED
border
#C4C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C2B40

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

Preview Lab → · Contrast checker → · Palette generator →

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