#0C2950#0C2950

#0C2950 is a dark, moderate cyan. Relative luminance 0.022; OKLCH L 28.4% C 0.079 H 257.0°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#0C2950
RGBrgb(12, 41, 80)
HSLhsl(214, 74%, 18%)
HSVhsv(214, 85%, 31%)
CMYKcmyk(85%, 48.8%, 0%, 68.6%)
CIE-LABlab(16.71, 5.52, -27.00)
CIE-LCHlch(16.71, 27.55, 281.55°)
OKLaboklab(28.36% -0.0178 -0.0774)
OKLCHoklch(28.36% 0.079 257)
XYZxyz(2.3920, 2.2429, 7.8947)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2950 #50330C
analogous
#0C4B50 #0C2950 #110C50
triadic
#0C2950 #500C29 #29500C
tetradic
#0C2950 #500C4B #50330C #0C5011
square
#0C2950 #500C4B #50330C #0C5011
split-complementary
#0C2950 #50110C #4B500C
monochromatic
#040E1B #040E1B #0C2950 #144485 #1C60BA

Accessibility & contrast

On white

14.50
#0C2950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2950
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2950#FFFFFF#000000##FFFFFF
##0C29501.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152D51
Deuteranopia (green-blind)
#07264F
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2950;
/* rgb */ color: rgb(12, 41, 80);
/* oklch */ color: oklch(28.4% 0.079 257.0);
Tailwind
colors: {
  custom: {
    50: '#576281',
    500: '#0c2950',
    950: '#000000',
  },
}
SCSS
$custom: #0c2950;
$custom-light: #576281;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2950",
  "rgb": {
    "r": 12,
    "g": 41,
    "b": 80
  },
  "hsl": {
    "h": 214.412,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28357,
    "c": 0.0794,
    "h": 257
  },
  "luminance": 0.02243
}

Semantic roles & 50–950 ramp

primary
#0C2950
secondary
#8B632C
accent
#A237F1
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0C2950

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

Preview Lab → · Contrast checker → · Palette generator →

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