#0F313F#0F313F

#0F313F is a dark, muted cyan. Relative luminance 0.027; OKLCH L 29.5% C 0.046 H 228.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#0F313F
RGBrgb(15, 49, 63)
HSLhsl(198, 62%, 15%)
HSVhsv(198, 76%, 25%)
CMYKcmyk(76.2%, 22.2%, 0%, 75.3%)
CIE-LABlab(18.61, -6.87, -12.41)
CIE-LCHlch(18.61, 14.19, 241.03°)
OKLaboklab(29.55% -0.0306 -0.0347)
OKLCHoklch(29.55% 0.046 228.6)
XYZxyz(2.1922, 2.6568, 5.0990)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F313F #3F1D0F
analogous
#0F3F35 #0F313F #0F193F
triadic
#0F313F #3F0F31 #313F0F
tetradic
#0F313F #350F3F #3F1D0F #193F0F
square
#0F313F #350F3F #3F1D0F #193F0F
split-complementary
#0F313F #3F0F19 #3F350F
monochromatic
#061319 #061319 #0F313F #1B5770 #277EA2

Accessibility & contrast

On white

13.71
#0F313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F313F
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F313F#FFFFFF#000000##FFFFFF
##0F313F1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3040
Deuteranopia (green-blind)
#232B3F
Tritanopia (blue-blind)
#003536
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f313f;
/* rgb */ color: rgb(15, 49, 63);
/* oklch */ color: oklch(29.5% 0.046 228.6);
Tailwind
colors: {
  custom: {
    50: '#546974',
    500: '#0f313f',
    950: '#000000',
  },
}
SCSS
$custom: #0f313f;
$custom-light: #546974;
$custom-dark: #000000;
JSON
{
  "hex": "#0f313f",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 197.5,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2955,
    "c": 0.04627,
    "h": 228.6
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#0F313F
secondary
#794630
accent
#7243E5
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #0F313F

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

Preview Lab → · Contrast checker → · Palette generator →

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