#0F314A#0F314A

#0F314A is a dark, muted cyan. Relative luminance 0.028; OKLCH L 30.2% C 0.060 H 244.1°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#0F314A
RGBrgb(15, 49, 74)
HSLhsl(205, 66%, 17%)
HSVhsv(205, 80%, 29%)
CMYKcmyk(79.7%, 33.8%, 0%, 71%)
CIE-LABlab(19.19, -2.38, -18.99)
CIE-LCHlch(19.19, 19.14, 262.85°)
OKLaboklab(30.2% -0.0261 -0.0537)
OKLCHoklch(30.2% 0.06 244.1)
XYZxyz(2.5309, 2.7923, 6.8828)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F314A #4A280F
analogous
#0F4A46 #0F314A #0F134A
triadic
#0F314A #4A0F31 #314A0F
tetradic
#0F314A #460F4A #4A280F #134A0F
square
#0F314A #460F4A #4A280F #134A0F
split-complementary
#0F314A #4A0F13 #4A460F
monochromatic
#051119 #051119 #0F314A #19537D #2474B0

Accessibility & contrast

On white

13.47
#0F314A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#0F314A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F314A
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F314A#FFFFFF#000000##FFFFFF
##0F314A1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26324B
Deuteranopia (green-blind)
#1D2C4A
Tritanopia (blue-blind)
#00373A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f314a;
/* rgb */ color: rgb(15, 49, 74);
/* oklch */ color: oklch(30.2% 0.060 244.1);
Tailwind
colors: {
  custom: {
    50: '#57687c',
    500: '#0f314a',
    950: '#000000',
  },
}
SCSS
$custom: #0f314a;
$custom-light: #57687c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f314a",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 74
  },
  "hsl": {
    "h": 205.424,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.302,
    "c": 0.05976,
    "h": 244.1
  },
  "luminance": 0.02793
}

Semantic roles & 50–950 ramp

primary
#0F314A
secondary
#845430
accent
#873FE9
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030609
muted
#787A7B

Preview Lab

Preview with #0F314A

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

Preview Lab → · Contrast checker → · Palette generator →

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