#0C2A50#0C2A50

#0C2A50 is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.6% C 0.078 H 256.0°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#0C2A50
RGBrgb(12, 42, 80)
HSLhsl(214, 74%, 18%)
HSVhsv(214, 85%, 31%)
CMYKcmyk(85%, 47.5%, 0%, 68.6%)
CIE-LABlab(17.05, 4.78, -26.45)
CIE-LCHlch(17.05, 26.88, 280.23°)
OKLaboklab(28.62% -0.0188 -0.0758)
OKLCHoklch(28.62% 0.078 256)
XYZxyz(2.4270, 2.3130, 7.9064)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A50 #50320C
analogous
#0C4C50 #0C2A50 #100C50
triadic
#0C2A50 #500C2A #2A500C
tetradic
#0C2A50 #500C4C #50320C #0C5010
square
#0C2A50 #500C4C #50320C #0C5010
split-complementary
#0C2A50 #50100C #4C500C
monochromatic
#040E1B #040E1B #0C2A50 #144685 #1C62BA

Accessibility & contrast

On white

14.36
#0C2A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0C2A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A50
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A50#FFFFFF#000000##FFFFFF
##0C2A501.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172D51
Deuteranopia (green-blind)
#0A274F
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2a50;
/* rgb */ color: rgb(12, 42, 80);
/* oklch */ color: oklch(28.6% 0.078 256.0);
Tailwind
colors: {
  custom: {
    50: '#576381',
    500: '#0c2a50',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a50;
$custom-light: #576381;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a50",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 80
  },
  "hsl": {
    "h": 213.529,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28618,
    "c": 0.07807,
    "h": 256
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#0C2A50
secondary
#8B612C
accent
#9F37F1
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0C2A50

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

Preview Lab → · Contrast checker → · Palette generator →

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