#0F313E#0F313E

#0F313E is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.5% C 0.045 H 226.8°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#0F313E
RGBrgb(15, 49, 62)
HSLhsl(197, 61%, 15%)
HSVhsv(197, 76%, 24%)
CMYKcmyk(75.8%, 21%, 0%, 75.7%)
CIE-LABlab(18.57, -7.27, -11.80)
CIE-LCHlch(18.57, 13.86, 238.38°)
OKLaboklab(29.5% -0.031 -0.033)
OKLCHoklch(29.5% 0.045 226.8)
XYZxyz(2.1645, 2.6458, 4.9531)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F313E #3E1C0F
analogous
#0F3E34 #0F313E #0F193E
triadic
#0F313E #3E0F31 #313E0F
tetradic
#0F313E #340F3E #3E1C0F #193E0F
square
#0F313E #340F3E #3E1C0F #193E0F
split-complementary
#0F313E #3E0F19 #3E340F
monochromatic
#061319 #061319 #0F313E #1B586F #277FA1

Accessibility & contrast

On white

13.73
#0F313E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F313E
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F313E#FFFFFF#000000##FFFFFF
##0F313E1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A303F
Deuteranopia (green-blind)
#232B3E
Tritanopia (blue-blind)
#003535
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f313e;
/* rgb */ color: rgb(15, 49, 62);
/* oklch */ color: oklch(29.5% 0.045 226.8);
Tailwind
colors: {
  custom: {
    50: '#546973',
    500: '#0f313e',
    950: '#000000',
  },
}
SCSS
$custom: #0f313e;
$custom-light: #546973;
$custom-dark: #000000;
JSON
{
  "hex": "#0f313e",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 196.596,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.29496,
    "c": 0.04529,
    "h": 226.8
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#0F313E
secondary
#784430
accent
#7044E4
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#030608
muted
#787A7B

Preview Lab

Preview with #0F313E

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

Preview Lab → · Contrast checker → · Palette generator →

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