#0F313B#0F313B

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

Color values

HEX#0F313B
RGBrgb(15, 49, 59)
HSLhsl(194, 59%, 15%)
HSVhsv(194, 75%, 23%)
CMYKcmyk(74.6%, 16.9%, 0%, 76.9%)
CIE-LABlab(18.43, -8.43, -9.96)
CIE-LCHlch(18.43, 13.05, 229.74°)
OKLaboklab(29.34% -0.0324 -0.0277)
OKLCHoklch(29.34% 0.043 220.5)
XYZxyz(2.0844, 2.6137, 4.5315)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F313B #3B190F
analogous
#0F3B2F #0F313B #0F1B3B
triadic
#0F313B #3B0F31 #313B0F
tetradic
#0F313B #2F0F3B #3B190F #1B3B0F
square
#0F313B #2F0F3B #3B190F #1B3B0F
split-complementary
#0F313B #3B0F1B #3B2F0F
monochromatic
#061418 #061418 #0F313B #1B5A6C #28829D

Accessibility & contrast

On white

13.79
#0F313B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F313B
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F313B#FFFFFF#000000##FFFFFF
##0F313B1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f313b;
/* rgb */ color: rgb(15, 49, 59);
/* oklch */ color: oklch(29.3% 0.043 220.5);
Tailwind
colors: {
  custom: {
    50: '#546971',
    500: '#0f313b',
    950: '#000000',
  },
}
SCSS
$custom: #0f313b;
$custom-light: #546971;
$custom-dark: #000000;
JSON
{
  "hex": "#0f313b",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 193.636,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.29338,
    "c": 0.04267,
    "h": 220.5
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#0F313B
secondary
#754030
accent
#6945E3
background
#F5F6F6
surface
#E8EBEC
border
#C4C6C7
text
#030607
muted
#787A7A

Preview Lab

Preview with #0F313B

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

Preview Lab → · Contrast checker → · Palette generator →

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