#0F3160#0F3160

#0F3160 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.8% C 0.092 H 257.5°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#0F3160
RGBrgb(15, 49, 96)
HSLhsl(215, 73%, 22%)
HSVhsv(215, 84%, 38%)
CMYKcmyk(84.4%, 49%, 0%, 62.4%)
CIE-LABlab(20.61, 7.06, -31.40)
CIE-LCHlch(20.61, 32.19, 282.67°)
OKLaboklab(31.76% -0.0199 -0.0901)
OKLCHoklch(31.76% 0.092 257.5)
XYZxyz(3.4059, 3.1423, 11.4911)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3160 #603E0F
analogous
#0F5A60 #0F3160 #160F60
triadic
#0F3160 #600F31 #31600F
tetradic
#0F3160 #600F5A #603E0F #0F6016
square
#0F3160 #600F5A #603E0F #0F6016
split-complementary
#0F3160 #60160F #5A600F
monochromatic
#040E1A #07162B #0F3160 #174C95 #2067CA

Accessibility & contrast

On white

12.89
#0F3160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#0F3160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3160
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3160#FFFFFF#000000##FFFFFF
##0F31601.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183662
Deuteranopia (green-blind)
#052E5F
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0f3160;
/* rgb */ color: rgb(15, 49, 96);
/* oklch */ color: oklch(31.8% 0.092 257.5);
Tailwind
colors: {
  custom: {
    50: '#5c688d',
    500: '#0f3160',
    950: '#000000',
  },
}
SCSS
$custom: #0f3160;
$custom-light: #5c688d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3160",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 96
  },
  "hsl": {
    "h": 214.815,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31762,
    "c": 0.0923,
    "h": 257.5
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#0F3160
secondary
#996E32
accent
#A338F0
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0F3160

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

Preview Lab → · Contrast checker → · Palette generator →

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