#0F3946#0F3946

#0F3946 is a dark, muted cyan. Relative luminance 0.035; OKLCH L 32.2% C 0.051 H 222.4°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#0F3946
RGBrgb(15, 57, 70)
HSLhsl(194, 65%, 17%)
HSVhsv(194, 79%, 27%)
CMYKcmyk(78.6%, 18.6%, 0%, 72.5%)
CIE-LABlab(21.83, -9.30, -12.19)
CIE-LCHlch(21.83, 15.34, 232.67°)
OKLaboklab(32.24% -0.0373 -0.0341)
OKLCHoklch(32.24% 0.051 222.4)
XYZxyz(2.7652, 3.4697, 6.3171)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3946 #461C0F
analogous
#0F4638 #0F3946 #0F1E46
triadic
#0F3946 #460F39 #39460F
tetradic
#0F3946 #380F46 #461C0F #1E460F
square
#0F3946 #380F46 #461C0F #1E460F
split-complementary
#0F3946 #460F1E #46380F
monochromatic
#051519 #051519 #0F3946 #1A6278 #258BAB

Accessibility & contrast

On white

12.40
#0F3946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#0F3946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3946
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3946#FFFFFF#000000##FFFFFF
##0F39461.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313747
Deuteranopia (green-blind)
#2A3246
Tritanopia (blue-blind)
#003D3D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0f3946;
/* rgb */ color: rgb(15, 57, 70);
/* oklch */ color: oklch(32.2% 0.051 222.4);
Tailwind
colors: {
  custom: {
    50: '#566f79',
    500: '#0f3946',
    950: '#000000',
  },
}
SCSS
$custom: #0f3946;
$custom-light: #566f79;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3946",
  "rgb": {
    "r": 15,
    "g": 57,
    "b": 70
  },
  "hsl": {
    "h": 194.182,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.32236,
    "c": 0.0505,
    "h": 222.4
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

primary
#0F3946
secondary
#804330
accent
#6840E8
background
#F5F6F7
surface
#E9ECED
border
#C5C7C8
text
#030709
muted
#787A7B

Preview Lab

Preview with #0F3946

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

Preview Lab → · Contrast checker → · Palette generator →

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