#0F313D#0F313D

#0F313D is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.4% C 0.044 H 224.8°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#0F313D
RGBrgb(15, 49, 61)
HSLhsl(196, 61%, 15%)
HSVhsv(196, 75%, 24%)
CMYKcmyk(75.4%, 19.7%, 0%, 76.1%)
CIE-LABlab(18.52, -7.66, -11.19)
CIE-LCHlch(18.52, 13.56, 235.61°)
OKLaboklab(29.44% -0.0315 -0.0312)
OKLCHoklch(29.44% 0.044 224.8)
XYZxyz(2.1373, 2.6349, 4.8099)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F313D #3D1B0F
analogous
#0F3D32 #0F313D #0F1A3D
triadic
#0F313D #3D0F31 #313D0F
tetradic
#0F313D #320F3D #3D1B0F #1A3D0F
square
#0F313D #320F3D #3D1B0F #1A3D0F
split-complementary
#0F313D #3D0F1A #3D320F
monochromatic
#061419 #061419 #0F313D #1B586E #27809F

Accessibility & contrast

On white

13.75
#0F313D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0F313D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F313D
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F313D#FFFFFF#000000##FFFFFF
##0F313D1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A303E
Deuteranopia (green-blind)
#242B3D
Tritanopia (blue-blind)
#003535
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f313d;
/* rgb */ color: rgb(15, 49, 61);
/* oklch */ color: oklch(29.4% 0.044 224.8);
Tailwind
colors: {
  custom: {
    50: '#546972',
    500: '#0f313d',
    950: '#000000',
  },
}
SCSS
$custom: #0f313d;
$custom-light: #546972;
$custom-dark: #000000;
JSON
{
  "hex": "#0f313d",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 195.652,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.29442,
    "c": 0.04436,
    "h": 224.8
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#0F313D
secondary
#774330
accent
#6E44E4
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#030608
muted
#787A7B

Preview Lab

Preview with #0F313D

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

Preview Lab → · Contrast checker → · Palette generator →

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