#0F2560#0F2560

#0F2560 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.109 H 264.8°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#0F2560
RGBrgb(15, 37, 96)
HSLhsl(224, 73%, 22%)
HSVhsv(224, 84%, 38%)
CMYKcmyk(84.4%, 61.5%, 0%, 62.4%)
CIE-LABlab(16.84, 15.92, -37.49)
CIE-LCHlch(16.84, 40.73, 293.01°)
OKLaboklab(28.89% -0.0099 -0.1083)
OKLCHoklch(28.89% 0.109 264.8)
XYZxyz(2.9691, 2.2689, 11.3455)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2560 #604A0F
analogous
#0F4E60 #0F2560 #220F60
triadic
#0F2560 #600F25 #25600F
tetradic
#0F2560 #600F4E #604A0F #0F6022
square
#0F2560 #600F4E #604A0F #0F6022
split-complementary
#0F2560 #60220F #4E600F
monochromatic
#040A1A #07112B #0F2560 #173995 #204ECA

Accessibility & contrast

On white

14.44
#0F2560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0F2560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2560
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2560#FFFFFF#000000##FFFFFF
##0F25601.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2560;
/* rgb */ color: rgb(15, 37, 96);
/* oklch */ color: oklch(28.9% 0.109 264.8);
Tailwind
colors: {
  custom: {
    50: '#5d5f8e',
    500: '#0f2560',
    950: '#000000',
  },
}
SCSS
$custom: #0f2560;
$custom-light: #5d5f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2560",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 96
  },
  "hsl": {
    "h": 223.704,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28893,
    "c": 0.10874,
    "h": 264.8
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#0F2560
secondary
#997D32
accent
#BE38F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F2560

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

Preview Lab → · Contrast checker → · Palette generator →

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