#0C2E45#0C2E45

#0C2E45 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 28.9% C 0.057 H 242.3°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#0C2E45
RGBrgb(12, 46, 69)
HSLhsl(204, 70%, 16%)
HSVhsv(204, 83%, 27%)
CMYKcmyk(82.6%, 33.3%, 0%, 72.9%)
CIE-LABlab(17.74, -2.90, -17.88)
CIE-LCHlch(17.74, 18.11, 260.78°)
OKLaboklab(28.93% -0.0265 -0.0506)
OKLCHoklch(28.93% 0.057 242.3)
XYZxyz(2.2024, 2.4616, 5.9881)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E45 #45230C
analogous
#0C453F #0C2E45 #0C1145
triadic
#0C2E45 #450C2E #2E450C
tetradic
#0C2E45 #3F0C45 #45230C #11450C
square
#0C2E45 #3F0C45 #45230C #11450C
split-complementary
#0C2E45 #450C11 #453F0C
monochromatic
#05111A #05111A #0C2E45 #155179 #1E74AD

Accessibility & contrast

On white

14.07
#0C2E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0C2E45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E45
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E45#FFFFFF#000000##FFFFFF
##0C2E451.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232E46
Deuteranopia (green-blind)
#1C2945
Tritanopia (blue-blind)
#003436
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2e45;
/* rgb */ color: rgb(12, 46, 69);
/* oklch */ color: oklch(28.9% 0.057 242.3);
Tailwind
colors: {
  custom: {
    50: '#546678',
    500: '#0c2e45',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e45;
$custom-light: #546678;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e45",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 69
  },
  "hsl": {
    "h": 204.211,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.28934,
    "c": 0.05711,
    "h": 242.3
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

primary
#0C2E45
secondary
#814E2C
accent
#833BED
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030509
muted
#787A7B

Preview Lab

Preview with #0C2E45

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

Preview Lab → · Contrast checker → · Palette generator →

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