#0C394E#0C394E

#0C394E is a dark, muted cyan. Relative luminance 0.036; OKLCH L 32.6% C 0.060 H 233.6°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#0C394E
RGBrgb(12, 57, 78)
HSLhsl(199, 73%, 18%)
HSVhsv(199, 85%, 31%)
CMYKcmyk(84.6%, 26.9%, 0%, 69.4%)
CIE-LABlab(22.14, -6.57, -17.07)
CIE-LCHlch(22.14, 18.29, 248.97°)
OKLaboklab(32.58% -0.0355 -0.0481)
OKLCHoklch(32.58% 0.06 233.6)
XYZxyz(2.9893, 3.5541, 7.7347)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C394E #4E210C
analogous
#0C4E42 #0C394E #0C184E
triadic
#0C394E #4E0C39 #394E0C
tetradic
#0C394E #420C4E #4E210C #184E0C
square
#0C394E #420C4E #4E210C #184E0C
split-complementary
#0C394E #4E0C18 #4E420C
monochromatic
#04131B #04131B #0C394E #146083 #1C87B8

Accessibility & contrast

On white

12.27
#0C394E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#0C394E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C394E
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C394E#FFFFFF#000000##FFFFFF
##0C394E1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F384F
Deuteranopia (green-blind)
#26324E
Tritanopia (blue-blind)
#003F40
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0c394e;
/* rgb */ color: rgb(12, 57, 78);
/* oklch */ color: oklch(32.6% 0.060 233.6);
Tailwind
colors: {
  custom: {
    50: '#576f7f',
    500: '#0c394e',
    950: '#000000',
  },
}
SCSS
$custom: #0c394e;
$custom-light: #576f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c394e",
  "rgb": {
    "r": 12,
    "g": 57,
    "b": 78
  },
  "hsl": {
    "h": 199.091,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.32584,
    "c": 0.05977,
    "h": 233.6
  },
  "luminance": 0.03554
}

Semantic roles & 50–950 ramp

primary
#0C394E
secondary
#8A4A2C
accent
#7238F0
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #0C394E

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

Preview Lab → · Contrast checker → · Palette generator →

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