#0F313A#0F313A

#0F313A is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.3% C 0.042 H 218.3°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#0F313A
RGBrgb(15, 49, 58)
HSLhsl(193, 59%, 14%)
HSVhsv(193, 74%, 23%)
CMYKcmyk(74.1%, 15.5%, 0%, 77.3%)
CIE-LABlab(18.38, -8.82, -9.34)
CIE-LCHlch(18.38, 12.84, 226.64°)
OKLaboklab(29.29% -0.0329 -0.026)
OKLCHoklch(29.29% 0.042 218.3)
XYZxyz(2.0587, 2.6035, 4.3962)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F313A #3A180F
analogous
#0F3A2E #0F313A #0F1C3A
triadic
#0F313A #3A0F31 #313A0F
tetradic
#0F313A #2E0F3A #3A180F #1C3A0F
square
#0F313A #2E0F3A #3A180F #1C3A0F
split-complementary
#0F313A #3A0F1C #3A2E0F
monochromatic
#061518 #061518 #0F313A #1C5A6B #28839B

Accessibility & contrast

On white

13.81
#0F313A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0F313A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F313A
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F313A#FFFFFF#000000##FFFFFF
##0F313A1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2F3A
Deuteranopia (green-blind)
#252B3A
Tritanopia (blue-blind)
#003434
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f313a;
/* rgb */ color: rgb(15, 49, 58);
/* oklch */ color: oklch(29.3% 0.042 218.3);
Tailwind
colors: {
  custom: {
    50: '#536970',
    500: '#0f313a',
    950: '#000000',
  },
}
SCSS
$custom: #0f313a;
$custom-light: #536970;
$custom-dark: #000000;
JSON
{
  "hex": "#0f313a",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 192.558,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.29286,
    "c": 0.04194,
    "h": 218.3
  },
  "luminance": 0.02604
}

Semantic roles & 50–950 ramp

primary
#0F313A
secondary
#743F30
accent
#6646E2
background
#F5F6F6
surface
#E8EBEC
border
#C4C6C7
text
#030607
muted
#787A7A

Preview Lab

Preview with #0F313A

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

Preview Lab → · Contrast checker → · Palette generator →

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