#0F3060#0F3060

#0F3060 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.5% C 0.094 H 258.3°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#0F3060
RGBrgb(15, 48, 96)
HSLhsl(216, 73%, 22%)
HSVhsv(216, 84%, 38%)
CMYKcmyk(84.4%, 50%, 0%, 62.4%)
CIE-LABlab(20.28, 7.79, -31.92)
CIE-LCHlch(20.28, 32.86, 283.71°)
OKLaboklab(31.51% -0.019 -0.0917)
OKLCHoklch(31.51% 0.094 258.3)
XYZxyz(3.3645, 3.0596, 11.4773)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3060 #603F0F
analogous
#0F5960 #0F3060 #170F60
triadic
#0F3060 #600F30 #30600F
tetradic
#0F3060 #600F59 #603F0F #0F6017
square
#0F3060 #600F59 #603F0F #0F6017
split-complementary
#0F3060 #60170F #59600F
monochromatic
#040D1A #07162B #0F3060 #174A95 #2065CA

Accessibility & contrast

On white

13.03
#0F3060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#0F3060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3060
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3060#FFFFFF#000000##FFFFFF
##0F30601.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163562
Deuteranopia (green-blind)
#022D5F
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f3060;
/* rgb */ color: rgb(15, 48, 96);
/* oklch */ color: oklch(31.5% 0.094 258.3);
Tailwind
colors: {
  custom: {
    50: '#5c678d',
    500: '#0f3060',
    950: '#000000',
  },
}
SCSS
$custom: #0f3060;
$custom-light: #5c678d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3060",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 96
  },
  "hsl": {
    "h": 215.556,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31512,
    "c": 0.09362,
    "h": 258.3
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#0F3060
secondary
#996F32
accent
#A538F0
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0F3060

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

Preview Lab → · Contrast checker → · Palette generator →

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