#0C2D3F#0C2D3F

#0C2D3F is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.3% C 0.050 H 236.5°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#0C2D3F
RGBrgb(12, 45, 63)
HSLhsl(201, 68%, 15%)
HSVhsv(201, 81%, 25%)
CMYKcmyk(81%, 28.6%, 0%, 75.3%)
CIE-LABlab(17.05, -4.74, -14.84)
CIE-LCHlch(17.05, 15.58, 252.30°)
OKLaboklab(28.28% -0.0277 -0.0418)
OKLCHoklch(28.28% 0.05 236.5)
XYZxyz(1.9869, 2.3136, 5.0435)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D3F #3F1E0C
analogous
#0C3F38 #0C2D3F #0C143F
triadic
#0C2D3F #3F0C2D #2D3F0C
tetradic
#0C2D3F #380C3F #3F1E0C #143F0C
square
#0C2D3F #380C3F #3F1E0C #143F0C
split-complementary
#0C2D3F #3F0C14 #3F380C
monochromatic
#05121A #05121A #0C2D3F #165272 #2076A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C2D3F#FFFFFF#000000##FFFFFF
##0C2D3F1.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)
#242D40
Deuteranopia (green-blind)
#1D283F
Tritanopia (blue-blind)
#003233
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2d3f;
/* rgb */ color: rgb(12, 45, 63);
/* oklch */ color: oklch(28.3% 0.050 236.5);
Tailwind
colors: {
  custom: {
    50: '#536574',
    500: '#0c2d3f',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d3f;
$custom-light: #536574;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d3f",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 63
  },
  "hsl": {
    "h": 201.176,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.28278,
    "c": 0.05013,
    "h": 236.5
  },
  "luminance": 0.02314
}

Semantic roles & 50–950 ramp

primary
#0C2D3F
secondary
#7B482C
accent
#7A3DEB
background
#F4F6F7
surface
#E8EBED
border
#C4C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #0C2D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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