#0C262F#0C262F

#0C262F is a dark, muted cyan. Relative luminance 0.017; OKLCH L 25.3% C 0.036 H 223.7°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#0C262F
RGBrgb(12, 38, 47)
HSLhsl(195, 59%, 12%)
HSVhsv(195, 74%, 18%)
CMYKcmyk(74.5%, 19.1%, 0%, 81.6%)
CIE-LABlab(13.65, -6.48, -8.88)
CIE-LCHlch(13.65, 10.99, 233.90°)
OKLaboklab(25.3% -0.0258 -0.0247)
OKLCHoklch(25.3% 0.036 223.7)
XYZxyz(1.3576, 1.6695, 2.9395)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C262F #2F150C
analogous
#0C2F27 #0C262F #0C152F
triadic
#0C262F #2F0C26 #262F0C
tetradic
#0C262F #270C2F #2F150C #152F0C
square
#0C262F #270C2F #2F150C #152F0C
split-complementary
#0C262F #2F0C15 #2F270C
monochromatic
#061418 #061418 #0C262F #184D60 #257591

Accessibility & contrast

On white

15.74
#0C262F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0C262F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C262F
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C262F#FFFFFF#000000##FFFFFF
##0C262F1.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21252F
Deuteranopia (green-blind)
#1C212F
Tritanopia (blue-blind)
#002929
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0c262f;
/* rgb */ color: rgb(12, 38, 47);
/* oklch */ color: oklch(25.3% 0.036 223.7);
Tailwind
colors: {
  custom: {
    50: '#4f6067',
    500: '#0c262f',
    950: '#000000',
  },
}
SCSS
$custom: #0c262f;
$custom-light: #4f6067;
$custom-dark: #000000;
JSON
{
  "hex": "#0c262f",
  "rgb": {
    "r": 12,
    "g": 38,
    "b": 47
  },
  "hsl": {
    "h": 195.429,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.25295,
    "c": 0.03578,
    "h": 223.7
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#0C262F
secondary
#6B3C2C
accent
#6E45E3
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020406
muted
#78797A

Preview Lab

Preview with #0C262F

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

Preview Lab → · Contrast checker → · Palette generator →

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