#0C334F#0C334F

#0C334F is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.0% C 0.066 H 244.4°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#0C334F
RGBrgb(12, 51, 79)
HSLhsl(205, 74%, 18%)
HSVhsv(205, 85%, 31%)
CMYKcmyk(84.8%, 35.4%, 0%, 69%)
CIE-LABlab(20.08, -2.11, -20.96)
CIE-LCHlch(20.08, 21.07, 264.26°)
OKLaboklab(30.97% -0.0285 -0.0595)
OKLCHoklch(30.97% 0.066 244.4)
XYZxyz(2.7462, 3.0100, 7.8319)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C334F #4F280C
analogous
#0C4F49 #0C334F #0C114F
triadic
#0C334F #4F0C33 #334F0C
tetradic
#0C334F #490C4F #4F280C #114F0C
square
#0C334F #490C4F #4F280C #114F0C
split-complementary
#0C334F #4F0C11 #4F490C
monochromatic
#04111B #04111B #0C334F #145584 #1C78B9

Accessibility & contrast

On white

13.11
#0C334F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0C334F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C334F
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C334F#FFFFFF#000000##FFFFFF
##0C334F1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263450
Deuteranopia (green-blind)
#1D2E4E
Tritanopia (blue-blind)
#003A3D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0c334f;
/* rgb */ color: rgb(12, 51, 79);
/* oklch */ color: oklch(31.0% 0.066 244.4);
Tailwind
colors: {
  custom: {
    50: '#576a80',
    500: '#0c334f',
    950: '#000000',
  },
}
SCSS
$custom: #0c334f;
$custom-light: #576a80;
$custom-dark: #000000;
JSON
{
  "hex": "#0c334f",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 79
  },
  "hsl": {
    "h": 205.075,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30972,
    "c": 0.06596,
    "h": 244.4
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#0C334F
secondary
#8B542C
accent
#8538F0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03060A
muted
#787A7C

Preview Lab

Preview with #0C334F

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

Preview Lab → · Contrast checker → · Palette generator →

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