#0C2F55#0C2F55

#0C2F55 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.3% C 0.079 H 253.5°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#0C2F55
RGBrgb(12, 47, 85)
HSLhsl(211, 75%, 19%)
HSVhsv(211, 86%, 33%)
CMYKcmyk(85.9%, 44.7%, 0%, 66.7%)
CIE-LABlab(19.08, 3.33, -26.56)
CIE-LCHlch(19.08, 26.77, 277.14°)
OKLaboklab(30.31% -0.0225 -0.076)
OKLCHoklch(30.31% 0.079 253.5)
XYZxyz(2.8072, 2.7667, 8.9786)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F55 #55320C
analogous
#0C5455 #0C2F55 #0E0C55
triadic
#0C2F55 #550C2F #2F550C
tetradic
#0C2F55 #550C54 #55320C #0C550E
square
#0C2F55 #550C54 #55320C #0C550E
split-complementary
#0C2F55 #550E0C #54550C
monochromatic
#040F1B #04111F #0C2F55 #144D8B #1B6AC0

Accessibility & contrast

On white

13.52
#0C2F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#0C2F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F55
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F55#FFFFFF#000000##FFFFFF
##0C2F551.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3257
Deuteranopia (green-blind)
#102B54
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0c2f55;
/* rgb */ color: rgb(12, 47, 85);
/* oklch */ color: oklch(30.3% 0.079 253.5);
Tailwind
colors: {
  custom: {
    50: '#586785',
    500: '#0c2f55',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f55;
$custom-light: #586785;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f55",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 85
  },
  "hsl": {
    "h": 211.233,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3031,
    "c": 0.07923,
    "h": 253.5
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#0C2F55
secondary
#90602D
accent
#9836F2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0C2F55

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

Preview Lab → · Contrast checker → · Palette generator →

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