#0C294F#0C294F

#0C294F is a dark, moderate cyan. Relative luminance 0.022; OKLCH L 28.3% C 0.078 H 256.6°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#0C294F
RGBrgb(12, 41, 79)
HSLhsl(214, 74%, 18%)
HSVhsv(214, 85%, 31%)
CMYKcmyk(84.8%, 48.1%, 0%, 69%)
CIE-LABlab(16.64, 5.07, -26.43)
CIE-LCHlch(16.64, 26.91, 280.86°)
OKLaboklab(28.28% -0.0181 -0.0757)
OKLCHoklch(28.28% 0.078 256.6)
XYZxyz(2.3553, 2.2283, 7.7016)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C294F #4F320C
analogous
#0C4A4F #0C294F #110C4F
triadic
#0C294F #4F0C29 #294F0C
tetradic
#0C294F #4F0C4A #4F320C #0C4F11
square
#0C294F #4F0C4A #4F320C #0C4F11
split-complementary
#0C294F #4F110C #4A4F0C
monochromatic
#040E1B #040E1B #0C294F #144584 #1C60B9

Accessibility & contrast

On white

14.52
#0C294F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0C294F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C294F
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C294F#FFFFFF#000000##FFFFFF
##0C294F1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162C50
Deuteranopia (green-blind)
#09264E
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c294f;
/* rgb */ color: rgb(12, 41, 79);
/* oklch */ color: oklch(28.3% 0.078 256.6);
Tailwind
colors: {
  custom: {
    50: '#576280',
    500: '#0c294f',
    950: '#000000',
  },
}
SCSS
$custom: #0c294f;
$custom-light: #576280;
$custom-dark: #000000;
JSON
{
  "hex": "#0c294f",
  "rgb": {
    "r": 12,
    "g": 41,
    "b": 79
  },
  "hsl": {
    "h": 214.03,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28278,
    "c": 0.07785,
    "h": 256.6
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#0C294F
secondary
#8B622C
accent
#A038F0
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#03050A
muted
#78797C

Preview Lab

Preview with #0C294F

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

Preview Lab → · Contrast checker → · Palette generator →

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