#0F314F#0F314F

#0F314F is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.5% C 0.067 H 248.6°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#0F314F
RGBrgb(15, 49, 79)
HSLhsl(208, 68%, 18%)
HSVhsv(208, 81%, 31%)
CMYKcmyk(81%, 38%, 0%, 69%)
CIE-LABlab(19.48, -0.27, -21.90)
CIE-LCHlch(19.48, 21.90, 269.29°)
OKLaboklab(30.53% -0.0244 -0.0622)
OKLCHoklch(30.53% 0.067 248.6)
XYZxyz(2.7061, 2.8624, 7.8055)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F314F #4F2D0F
analogous
#0F4F4D #0F314F #0F114F
triadic
#0F314F #4F0F31 #314F0F
tetradic
#0F314F #4D0F4F #4F2D0F #114F0F
square
#0F314F #4D0F4F #4F2D0F #114F0F
split-complementary
#0F314F #4F0F11 #4F4D0F
monochromatic
#05101A #05111C #0F314F #195182 #2371B6

Accessibility & contrast

On white

13.35
#0F314F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F314F
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F314F#FFFFFF#000000##FFFFFF
##0F314F1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233250
Deuteranopia (green-blind)
#1A2C4E
Tritanopia (blue-blind)
#00383C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f314f;
/* rgb */ color: rgb(15, 49, 79);
/* oklch */ color: oklch(30.5% 0.067 248.6);
Tailwind
colors: {
  custom: {
    50: '#586880',
    500: '#0f314f',
    950: '#000000',
  },
}
SCSS
$custom: #0f314f;
$custom-light: #586880;
$custom-dark: #000000;
JSON
{
  "hex": "#0f314f",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 208.125,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30526,
    "c": 0.06685,
    "h": 248.6
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#0F314F
secondary
#895A31
accent
#8E3DEB
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0F314F

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

Preview Lab → · Contrast checker → · Palette generator →

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