#0C2A40#0C2A40

#0C2A40 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.5% C 0.054 H 244.0°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#0C2A40
RGBrgb(12, 42, 64)
HSLhsl(205, 68%, 15%)
HSVhsv(205, 81%, 25%)
CMYKcmyk(81.2%, 34.4%, 0%, 74.9%)
CIE-LABlab(16.02, -2.23, -17.14)
CIE-LCHlch(16.02, 17.28, 262.60°)
OKLaboklab(27.48% -0.0237 -0.0485)
OKLCHoklch(27.48% 0.054 244)
XYZxyz(1.9046, 2.1040, 5.1552)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A40 #40220C
analogous
#0C403C #0C2A40 #0C1040
triadic
#0C2A40 #400C2A #2A400C
tetradic
#0C2A40 #3C0C40 #40220C #10400C
square
#0C2A40 #3C0C40 #40220C #10400C
split-complementary
#0C2A40 #400C10 #403C0C
monochromatic
#05111A #05111A #0C2A40 #164C74 #1F6EA7

Accessibility & contrast

On white

14.78
#0C2A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0C2A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A40
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A40#FFFFFF#000000##FFFFFF
##0C2A401.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B41
Deuteranopia (green-blind)
#192640
Tritanopia (blue-blind)
#002F32
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2a40;
/* rgb */ color: rgb(12, 42, 64);
/* oklch */ color: oklch(27.5% 0.054 244.0);
Tailwind
colors: {
  custom: {
    50: '#536375',
    500: '#0c2a40',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a40;
$custom-light: #536375;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a40",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 205.385,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2748,
    "c": 0.05397,
    "h": 244
  },
  "luminance": 0.02104
}

Semantic roles & 50–950 ramp

primary
#0C2A40
secondary
#7C4E2C
accent
#863DEB
background
#F4F5F7
surface
#E8EAED
border
#C4C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C2A40

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

Preview Lab → · Contrast checker → · Palette generator →

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