#0F2860#0F2860

#0F2860 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.105 H 263.3°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#0F2860
RGBrgb(15, 40, 96)
HSLhsl(221, 73%, 22%)
HSVhsv(221, 84%, 38%)
CMYKcmyk(84.4%, 58.3%, 0%, 62.4%)
CIE-LABlab(17.75, 13.69, -36.01)
CIE-LCHlch(17.75, 38.52, 290.82°)
OKLaboklab(29.58% -0.0122 -0.1039)
OKLCHoklch(29.58% 0.105 263.3)
XYZxyz(3.0664, 2.4633, 11.3779)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2860 #60470F
analogous
#0F5160 #0F2860 #1E0F60
triadic
#0F2860 #600F28 #28600F
tetradic
#0F2860 #600F51 #60470F #0F601E
square
#0F2860 #600F51 #60470F #0F601E
split-complementary
#0F2860 #601E0F #51600F
monochromatic
#040B1A #07122B #0F2860 #173E95 #2054CA

Accessibility & contrast

On white

14.07
#0F2860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0F2860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2860
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2860#FFFFFF#000000##FFFFFF
##0F28601.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#00285F
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2860;
/* rgb */ color: rgb(15, 40, 96);
/* oklch */ color: oklch(29.6% 0.105 263.3);
Tailwind
colors: {
  custom: {
    50: '#5d618e',
    500: '#0f2860',
    950: '#000000',
  },
}
SCSS
$custom: #0f2860;
$custom-light: #5d618e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2860",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 96
  },
  "hsl": {
    "h": 221.481,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.2958,
    "c": 0.10459,
    "h": 263.3
  },
  "luminance": 0.02464
}

Semantic roles & 50–950 ramp

primary
#0F2860
secondary
#997932
accent
#B738F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F2860

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

Preview Lab → · Contrast checker → · Palette generator →

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