#0F314D#0F314D

#0F314D is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.4% C 0.064 H 246.9°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#0F314D
RGBrgb(15, 49, 77)
HSLhsl(207, 67%, 18%)
HSVhsv(207, 81%, 30%)
CMYKcmyk(80.5%, 36.4%, 0%, 69.8%)
CIE-LABlab(19.37, -1.12, -20.75)
CIE-LCHlch(19.37, 20.78, 266.91°)
OKLaboklab(30.39% -0.0251 -0.0589)
OKLCHoklch(30.39% 0.064 246.9)
XYZxyz(2.6344, 2.8337, 7.4279)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F314D #4D2B0F
analogous
#0F4D4A #0F314D #0F124D
triadic
#0F314D #4D0F31 #314D0F
tetradic
#0F314D #4A0F4D #4D2B0F #124D0F
square
#0F314D #4A0F4D #4D2B0F #124D0F
split-complementary
#0F314D #4D0F12 #4D4A0F
monochromatic
#05101A #05101A #0F314D #195280 #2372B3

Accessibility & contrast

On white

13.40
#0F314D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#0F314D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F314D
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F314D#FFFFFF#000000##FFFFFF
##0F314D1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24324E
Deuteranopia (green-blind)
#1B2C4C
Tritanopia (blue-blind)
#00383B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f314d;
/* rgb */ color: rgb(15, 49, 77);
/* oklch */ color: oklch(30.4% 0.064 246.9);
Tailwind
colors: {
  custom: {
    50: '#57687f',
    500: '#0f314d',
    950: '#000000',
  },
}
SCSS
$custom: #0f314d;
$custom-light: #57687f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f314d",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 77
  },
  "hsl": {
    "h": 207.097,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30394,
    "c": 0.06397,
    "h": 246.9
  },
  "luminance": 0.02834
}

Semantic roles & 50–950 ramp

primary
#0F314D
secondary
#875831
accent
#8C3EEA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0F314D

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

Preview Lab → · Contrast checker → · Palette generator →

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