#0C3348#0C3348

#0C3348 is a dark, muted cyan. Relative luminance 0.029; OKLCH L 30.5% C 0.057 H 236.8°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#0C3348
RGBrgb(12, 51, 72)
HSLhsl(201, 71%, 16%)
HSVhsv(201, 83%, 28%)
CMYKcmyk(83.3%, 29.2%, 0%, 71.8%)
CIE-LABlab(19.69, -5.06, -16.86)
CIE-LCHlch(19.69, 17.61, 253.29°)
OKLaboklab(30.53% -0.0311 -0.0476)
OKLCHoklch(30.53% 0.057 236.8)
XYZxyz(2.5047, 2.9134, 6.5600)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3348 #48210C
analogous
#0C483F #0C3348 #0C1548
triadic
#0C3348 #480C33 #33480C
tetradic
#0C3348 #3F0C48 #48210C #15480C
square
#0C3348 #3F0C48 #48210C #15480C
split-complementary
#0C3348 #480C15 #483F0C
monochromatic
#04131A #04131A #0C3348 #15587C #1D7DB1

Accessibility & contrast

On white

13.27
#0C3348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0C3348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3348
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3348#FFFFFF#000000##FFFFFF
##0C33481.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293349
Deuteranopia (green-blind)
#212D48
Tritanopia (blue-blind)
#00383A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0c3348;
/* rgb */ color: rgb(12, 51, 72);
/* oklch */ color: oklch(30.5% 0.057 236.8);
Tailwind
colors: {
  custom: {
    50: '#556a7b',
    500: '#0c3348',
    950: '#000000',
  },
}
SCSS
$custom: #0c3348;
$custom-light: #556a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3348",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 72
  },
  "hsl": {
    "h": 201,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.30534,
    "c": 0.05683,
    "h": 236.8
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#0C3348
secondary
#844B2C
accent
#793AEE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030609
muted
#787A7B

Preview Lab

Preview with #0C3348

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

Preview Lab → · Contrast checker → · Palette generator →

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