#0C262B#0C262B

#0C262B is a dark, muted teal. Relative luminance 0.016; OKLCH L 25.1% C 0.033 H 212.1°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#0C262B
RGBrgb(12, 38, 43)
HSLhsl(190, 56%, 11%)
HSVhsv(190, 72%, 17%)
CMYKcmyk(72.1%, 11.6%, 0%, 83.1%)
CIE-LABlab(13.46, -8.02, -6.30)
CIE-LCHlch(13.46, 10.20, 218.14°)
OKLaboklab(25.09% -0.0279 -0.0175)
OKLCHoklch(25.09% 0.033 212.1)
XYZxyz(1.2806, 1.6387, 2.5338)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C262B #2B110C
analogous
#0C2B20 #0C262B #0C162B
triadic
#0C262B #2B0C26 #262B0C
tetradic
#0C262B #200C2B #2B110C #162B0C
square
#0C262B #200C2B #2B110C #162B0C
split-complementary
#0C262B #2B0C16 #2B200C
monochromatic
#071518 #071518 #0C262B #19505B #277B8B

Accessibility & contrast

On white

15.82
#0C262B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C262B
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C262B#FFFFFF#000000##FFFFFF
##0C262B1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22242B
Deuteranopia (green-blind)
#1D212B
Tritanopia (blue-blind)
#002828
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0c262b;
/* rgb */ color: rgb(12, 38, 43);
/* oklch */ color: oklch(25.1% 0.033 212.1);
Tailwind
colors: {
  custom: {
    50: '#4f6064',
    500: '#0c262b',
    950: '#000000',
  },
}
SCSS
$custom: #0c262b;
$custom-light: #4f6064;
$custom-dark: #000000;
JSON
{
  "hex": "#0c262b",
  "rgb": {
    "r": 12,
    "g": 38,
    "b": 43
  },
  "hsl": {
    "h": 189.677,
    "s": 56.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.25087,
    "c": 0.03289,
    "h": 212.1
  },
  "luminance": 0.01639
}

Semantic roles & 50–950 ramp

primary
#0C262B
secondary
#66362C
accent
#6148E0
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020405
muted
#787979

Preview Lab

Preview with #0C262B

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

Preview Lab → · Contrast checker → · Palette generator →

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