#0C2A41#0C2A41

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

Color values

HEX#0C2A41
RGBrgb(12, 42, 65)
HSLhsl(206, 69%, 15%)
HSVhsv(206, 82%, 25%)
CMYKcmyk(81.5%, 35.4%, 0%, 74.5%)
CIE-LABlab(16.08, -1.80, -17.74)
CIE-LCHlch(16.08, 17.83, 264.22°)
OKLaboklab(27.55% -0.0233 -0.0502)
OKLCHoklch(27.55% 0.055 245.1)
XYZxyz(1.9334, 2.1155, 5.3064)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A41 #41230C
analogous
#0C413E #0C2A41 #0C0F41
triadic
#0C2A41 #410C2A #2A410C
tetradic
#0C2A41 #3E0C41 #41230C #0F410C
square
#0C2A41 #3E0C41 #41230C #0F410C
split-complementary
#0C2A41 #410C0F #413E0C
monochromatic
#05111A #05111A #0C2A41 #164B75 #1F6DA8

Accessibility & contrast

On white

14.76
#0C2A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2A41
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A41#FFFFFF#000000##FFFFFF
##0C2A411.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B42
Deuteranopia (green-blind)
#182641
Tritanopia (blue-blind)
#003032
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2a41;
/* rgb */ color: rgb(12, 42, 65);
/* oklch */ color: oklch(27.5% 0.055 245.1);
Tailwind
colors: {
  custom: {
    50: '#536375',
    500: '#0c2a41',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a41;
$custom-light: #536375;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a41",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 65
  },
  "hsl": {
    "h": 206.038,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27545,
    "c": 0.05539,
    "h": 245.1
  },
  "luminance": 0.02116
}

Semantic roles & 50–950 ramp

primary
#0C2A41
secondary
#7D4F2C
accent
#883CEC
background
#F5F5F7
surface
#E8EAED
border
#C4C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C2A41

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

Preview Lab → · Contrast checker → · Palette generator →

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