#0C2E46#0C2E46

#0C2E46 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.0% C 0.058 H 243.4°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#0C2E46
RGBrgb(12, 46, 70)
HSLhsl(205, 71%, 16%)
HSVhsv(205, 83%, 27%)
CMYKcmyk(82.9%, 34.3%, 0%, 72.5%)
CIE-LABlab(17.80, -2.48, -18.47)
CIE-LCHlch(17.80, 18.64, 262.37°)
OKLaboklab(29% -0.0261 -0.0523)
OKLCHoklch(29% 0.058 243.4)
XYZxyz(2.2337, 2.4741, 6.1530)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E46 #46240C
analogous
#0C4641 #0C2E46 #0C1146
triadic
#0C2E46 #460C2E #2E460C
tetradic
#0C2E46 #410C46 #46240C #11460C
square
#0C2E46 #410C46 #46240C #11460C
split-complementary
#0C2E46 #460C11 #46410C
monochromatic
#04111A #04111A #0C2E46 #15507A #1E73AE

Accessibility & contrast

On white

14.05
#0C2E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0C2E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E46
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E46#FFFFFF#000000##FFFFFF
##0C2E461.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232F47
Deuteranopia (green-blind)
#1B2946
Tritanopia (blue-blind)
#003436
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c2e46;
/* rgb */ color: rgb(12, 46, 70);
/* oklch */ color: oklch(29.0% 0.058 243.4);
Tailwind
colors: {
  custom: {
    50: '#546679',
    500: '#0c2e46',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e46;
$custom-light: #546679;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e46",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 70
  },
  "hsl": {
    "h": 204.828,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.28998,
    "c": 0.05848,
    "h": 243.4
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#0C2E46
secondary
#824F2C
accent
#843AED
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030509
muted
#787A7B

Preview Lab

Preview with #0C2E46

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

Preview Lab → · Contrast checker → · Palette generator →

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