#0C2D45#0C2D45

#0C2D45 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.7% C 0.058 H 244.1°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#0C2D45
RGBrgb(12, 45, 69)
HSLhsl(205, 70%, 16%)
HSVhsv(205, 83%, 27%)
CMYKcmyk(82.6%, 34.8%, 0%, 72.9%)
CIE-LABlab(17.39, -2.20, -18.44)
CIE-LCHlch(17.39, 18.57, 263.19°)
OKLaboklab(28.65% -0.0254 -0.0522)
OKLCHoklch(28.65% 0.058 244.1)
XYZxyz(2.1638, 2.3844, 5.9753)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D45 #45240C
analogous
#0C4540 #0C2D45 #0C1045
triadic
#0C2D45 #450C2D #2D450C
tetradic
#0C2D45 #400C45 #45240C #10450C
square
#0C2D45 #400C45 #45240C #10450C
split-complementary
#0C2D45 #450C10 #45400C
monochromatic
#05111A #05111A #0C2D45 #154F79 #1E71AD

Accessibility & contrast

On white

14.22
#0C2D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2D45
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D45#FFFFFF#000000##FFFFFF
##0C2D451.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222E46
Deuteranopia (green-blind)
#1A2845
Tritanopia (blue-blind)
#003336
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2d45;
/* rgb */ color: rgb(12, 45, 69);
/* oklch */ color: oklch(28.7% 0.058 244.1);
Tailwind
colors: {
  custom: {
    50: '#546579',
    500: '#0c2d45',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d45;
$custom-light: #546579;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d45",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 69
  },
  "hsl": {
    "h": 205.263,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.28652,
    "c": 0.05806,
    "h": 244.1
  },
  "luminance": 0.02385
}

Semantic roles & 50–950 ramp

primary
#0C2D45
secondary
#81502C
accent
#863BED
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030509
muted
#787A7B

Preview Lab

Preview with #0C2D45

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

Preview Lab → · Contrast checker → · Palette generator →

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