#0F2F60#0F2F60

#0F2F60 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.095 H 259.0°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#0F2F60
RGBrgb(15, 47, 96)
HSLhsl(216, 73%, 22%)
HSVhsv(216, 84%, 38%)
CMYKcmyk(84.4%, 51%, 0%, 62.4%)
CIE-LABlab(19.96, 8.52, -32.44)
CIE-LCHlch(19.96, 33.54, 284.71°)
OKLaboklab(31.26% -0.0181 -0.0932)
OKLCHoklch(31.26% 0.095 259)
XYZxyz(3.3241, 2.9787, 11.4638)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F60 #60400F
analogous
#0F5860 #0F2F60 #170F60
triadic
#0F2F60 #600F2F #2F600F
tetradic
#0F2F60 #600F58 #60400F #0F6017
square
#0F2F60 #600F58 #60400F #0F6017
split-complementary
#0F2F60 #60170F #58600F
monochromatic
#040D1A #07152B #0F2F60 #174995 #2063CA

Accessibility & contrast

On white

13.16
#0F2F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0F2F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F60
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F60#FFFFFF#000000##FFFFFF
##0F2F601.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133462
Deuteranopia (green-blind)
#002D5F
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f2f60;
/* rgb */ color: rgb(15, 47, 96);
/* oklch */ color: oklch(31.3% 0.095 259.0);
Tailwind
colors: {
  custom: {
    50: '#5c678d',
    500: '#0f2f60',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f60;
$custom-light: #5c678d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f60",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 96
  },
  "hsl": {
    "h": 216.296,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31264,
    "c": 0.09496,
    "h": 259
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#0F2F60
secondary
#997032
accent
#A738F0
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0F2F60

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

Preview Lab → · Contrast checker → · Palette generator →

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