#0C2F3E#0C2F3E

#0C2F3E is a dark, muted cyan. Relative luminance 0.025; OKLCH L 28.8% C 0.048 H 230.2°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#0C2F3E
RGBrgb(12, 47, 62)
HSLhsl(198, 68%, 15%)
HSVhsv(198, 81%, 24%)
CMYKcmyk(80.6%, 24.2%, 0%, 75.7%)
CIE-LABlab(17.73, -6.50, -13.10)
CIE-LCHlch(17.73, 14.62, 243.60°)
OKLaboklab(28.8% -0.0306 -0.0367)
OKLCHoklch(28.8% 0.048 230.2)
XYZxyz(2.0373, 2.4588, 4.9237)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F3E #3E1B0C
analogous
#0C3E34 #0C2F3E #0C163E
triadic
#0C2F3E #3E0C2F #2F3E0C
tetradic
#0C2F3E #340C3E #3E1B0C #163E0C
square
#0C2F3E #340C3E #3E1B0C #163E0C
split-complementary
#0C2F3E #3E0C16 #3E340C
monochromatic
#05131A #05131A #0C2F3E #165671 #207DA5

Accessibility & contrast

On white

14.08
#0C2F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2F3E
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F3E#FFFFFF#000000##FFFFFF
##0C2F3E1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272E3F
Deuteranopia (green-blind)
#21293E
Tritanopia (blue-blind)
#003334
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2f3e;
/* rgb */ color: rgb(12, 47, 62);
/* oklch */ color: oklch(28.8% 0.048 230.2);
Tailwind
colors: {
  custom: {
    50: '#536773',
    500: '#0c2f3e',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f3e;
$custom-light: #536773;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f3e",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 62
  },
  "hsl": {
    "h": 198,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.288,
    "c": 0.04779,
    "h": 230.2
  },
  "luminance": 0.02459
}

Semantic roles & 50–950 ramp

primary
#0C2F3E
secondary
#7A432C
accent
#713DEA
background
#F4F6F6
surface
#E8EBEC
border
#C4C6C7
text
#030608
muted
#787A7B

Preview Lab

Preview with #0C2F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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