#0C334E#0C334E

#0C334E is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 30.9% C 0.065 H 243.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#0C334E
RGBrgb(12, 51, 78)
HSLhsl(205, 73%, 18%)
HSVhsv(205, 85%, 31%)
CMYKcmyk(84.6%, 34.6%, 0%, 69.4%)
CIE-LABlab(20.03, -2.53, -20.38)
CIE-LCHlch(20.03, 20.54, 262.91°)
OKLaboklab(30.91% -0.0288 -0.0578)
OKLCHoklch(30.91% 0.065 243.5)
XYZxyz(2.7101, 2.9956, 7.6416)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C334E #4E270C
analogous
#0C4E48 #0C334E #0C124E
triadic
#0C334E #4E0C33 #334E0C
tetradic
#0C334E #480C4E #4E270C #124E0C
square
#0C334E #480C4E #4E270C #124E0C
split-complementary
#0C334E #4E0C12 #4E480C
monochromatic
#04111B #04111B #0C334E #145683 #1C78B8

Accessibility & contrast

On white

13.13
#0C334E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C334E
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C334E#FFFFFF#000000##FFFFFF
##0C334E1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26344F
Deuteranopia (green-blind)
#1D2E4D
Tritanopia (blue-blind)
#003A3D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0c334e;
/* rgb */ color: rgb(12, 51, 78);
/* oklch */ color: oklch(30.9% 0.065 243.5);
Tailwind
colors: {
  custom: {
    50: '#576a7f',
    500: '#0c334e',
    950: '#000000',
  },
}
SCSS
$custom: #0c334e;
$custom-light: #576a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c334e",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 78
  },
  "hsl": {
    "h": 204.545,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30907,
    "c": 0.06459,
    "h": 243.5
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#0C334E
secondary
#8A522C
accent
#8338F0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03060A
muted
#787A7C

Preview Lab

Preview with #0C334E

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

Preview Lab → · Contrast checker → · Palette generator →

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