#0C3048#0C3048

#0C3048 is a dark, muted cyan. Relative luminance 0.027; OKLCH L 29.7% C 0.059 H 242.2°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#0C3048
RGBrgb(12, 48, 72)
HSLhsl(204, 71%, 16%)
HSVhsv(204, 83%, 28%)
CMYKcmyk(83.3%, 33.3%, 0%, 71.8%)
CIE-LABlab(18.63, -3.02, -18.54)
CIE-LCHlch(18.63, 18.78, 260.76°)
OKLaboklab(29.69% -0.0277 -0.0525)
OKLCHoklch(29.69% 0.059 242.2)
XYZxyz(2.3778, 2.6597, 6.5177)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3048 #48240C
analogous
#0C4842 #0C3048 #0C1248
triadic
#0C3048 #480C30 #30480C
tetradic
#0C3048 #420C48 #48240C #12480C
square
#0C3048 #420C48 #48240C #12480C
split-complementary
#0C3048 #480C12 #48420C
monochromatic
#04111A #04111A #0C3048 #15537C #1D76B1

Accessibility & contrast

On white

13.71
#0C3048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0C3048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3048
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3048#FFFFFF#000000##FFFFFF
##0C30481.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253049
Deuteranopia (green-blind)
#1D2B48
Tritanopia (blue-blind)
#003638
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c3048;
/* rgb */ color: rgb(12, 48, 72);
/* oklch */ color: oklch(29.7% 0.059 242.2);
Tailwind
colors: {
  custom: {
    50: '#55687b',
    500: '#0c3048',
    950: '#000000',
  },
}
SCSS
$custom: #0c3048;
$custom-light: #55687b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3048",
  "rgb": {
    "r": 12,
    "g": 48,
    "b": 72
  },
  "hsl": {
    "h": 204,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.29687,
    "c": 0.05932,
    "h": 242.2
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

primary
#0C3048
secondary
#844F2C
accent
#823AEE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030609
muted
#787A7B

Preview Lab

Preview with #0C3048

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

Preview Lab → · Contrast checker → · Palette generator →

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