#0F3156#0F3156

#0F3156 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.0% C 0.077 H 253.2°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#0F3156
RGBrgb(15, 49, 86)
HSLhsl(211, 70%, 20%)
HSVhsv(211, 83%, 34%)
CMYKcmyk(82.6%, 43%, 0%, 66.3%)
CIE-LABlab(19.92, 2.73, -25.89)
CIE-LCHlch(19.92, 26.03, 276.01°)
OKLaboklab(31.01% -0.0223 -0.0739)
OKLCHoklch(31.01% 0.077 253.2)
XYZxyz(2.9744, 2.9697, 9.2187)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3156 #56340F
analogous
#0F5456 #0F3156 #110F56
triadic
#0F3156 #560F31 #31560F
tetradic
#0F3156 #560F54 #56340F #0F5611
square
#0F3156 #560F54 #56340F #0F5611
split-complementary
#0F3156 #56110F #54560F
monochromatic
#050F1A #061322 #0F3156 #184F8A #216CBE

Accessibility & contrast

On white

13.17
#0F3156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0F3156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3156
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3156#FFFFFF#000000##FFFFFF
##0F31561.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3457
Deuteranopia (green-blind)
#142D55
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f3156;
/* rgb */ color: rgb(15, 49, 86);
/* oklch */ color: oklch(31.0% 0.077 253.2);
Tailwind
colors: {
  custom: {
    50: '#596886',
    500: '#0f3156',
    950: '#000000',
  },
}
SCSS
$custom: #0f3156;
$custom-light: #596886;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3156",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 86
  },
  "hsl": {
    "h": 211.268,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31012,
    "c": 0.0772,
    "h": 253.2
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#0F3156
secondary
#906231
accent
#983BED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F3156

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

Preview Lab → · Contrast checker → · Palette generator →

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