#0C2D3B#0C2D3B

#0C2D3B is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.0% C 0.046 H 229.7°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#0C2D3B
RGBrgb(12, 45, 59)
HSLhsl(198, 66%, 14%)
HSVhsv(198, 80%, 23%)
CMYKcmyk(79.7%, 23.7%, 0%, 76.9%)
CIE-LABlab(16.85, -6.38, -12.39)
CIE-LCHlch(16.85, 13.94, 242.74°)
OKLaboklab(28.05% -0.0294 -0.0347)
OKLCHoklch(28.05% 0.046 229.7)
XYZxyz(1.8791, 2.2705, 4.4760)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D3B #3B1A0C
analogous
#0C3B32 #0C2D3B #0C163B
triadic
#0C2D3B #3B0C2D #2D3B0C
tetradic
#0C2D3B #320C3B #3B1A0C #163B0C
square
#0C2D3B #320C3B #3B1A0C #163B0C
split-complementary
#0C2D3B #3B0C16 #3B320C
monochromatic
#051319 #051319 #0C2D3B #16546E #217BA1

Accessibility & contrast

On white

14.44
#0C2D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0C2D3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D3B
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D3B#FFFFFF#000000##FFFFFF
##0C2D3B1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262C3C
Deuteranopia (green-blind)
#1F273B
Tritanopia (blue-blind)
#003132
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2d3b;
/* rgb */ color: rgb(12, 45, 59);
/* oklch */ color: oklch(28.0% 0.046 229.7);
Tailwind
colors: {
  custom: {
    50: '#526571',
    500: '#0c2d3b',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d3b;
$custom-light: #526571;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d3b",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 59
  },
  "hsl": {
    "h": 197.872,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.28045,
    "c": 0.04552,
    "h": 229.7
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

primary
#0C2D3B
secondary
#77422C
accent
#713FE9
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020507
muted
#787A7A

Preview Lab

Preview with #0C2D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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