#0C2E48#0C2E48

#0C2E48 is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.1% C 0.061 H 245.5°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#0C2E48
RGBrgb(12, 46, 72)
HSLhsl(206, 71%, 16%)
HSVhsv(206, 83%, 28%)
CMYKcmyk(83.3%, 36.1%, 0%, 71.8%)
CIE-LABlab(17.92, -1.62, -19.65)
CIE-LCHlch(17.92, 19.72, 265.29°)
OKLaboklab(29.13% -0.0254 -0.0557)
OKLCHoklch(29.13% 0.061 245.5)
XYZxyz(2.2979, 2.4998, 6.4910)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E48 #48260C
analogous
#0C4844 #0C2E48 #0C1048
triadic
#0C2E48 #480C2E #2E480C
tetradic
#0C2E48 #440C48 #48260C #10480C
square
#0C2E48 #440C48 #48260C #10480C
split-complementary
#0C2E48 #480C10 #48440C
monochromatic
#04111A #04111A #0C2E48 #15507C #1D71B1

Accessibility & contrast

On white

14.00
#0C2E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0C2E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E48
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E48#FFFFFF#000000##FFFFFF
##0C2E481.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222F49
Deuteranopia (green-blind)
#1A2948
Tritanopia (blue-blind)
#003437
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c2e48;
/* rgb */ color: rgb(12, 46, 72);
/* oklch */ color: oklch(29.1% 0.061 245.5);
Tailwind
colors: {
  custom: {
    50: '#55667b',
    500: '#0c2e48',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e48;
$custom-light: #55667b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e48",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 72
  },
  "hsl": {
    "h": 206,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.29128,
    "c": 0.06127,
    "h": 245.5
  },
  "luminance": 0.025
}

Semantic roles & 50–950 ramp

primary
#0C2E48
secondary
#84522C
accent
#883AEE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030509
muted
#787A7B

Preview Lab

Preview with #0C2E48

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

Preview Lab → · Contrast checker → · Palette generator →

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