#0F2460#0F2460

#0F2460 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.110 H 265.2°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#0F2460
RGBrgb(15, 36, 96)
HSLhsl(224, 73%, 22%)
HSVhsv(224, 84%, 38%)
CMYKcmyk(84.4%, 62.5%, 0%, 62.4%)
CIE-LABlab(16.54, 16.67, -37.98)
CIE-LCHlch(16.54, 41.48, 293.69°)
OKLaboklab(28.67% -0.0092 -0.1097)
OKLCHoklch(28.67% 0.11 265.2)
XYZxyz(2.9385, 2.2075, 11.3353)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2460 #604B0F
analogous
#0F4D60 #0F2460 #220F60
triadic
#0F2460 #600F24 #24600F
tetradic
#0F2460 #600F4D #604B0F #0F6022
square
#0F2460 #600F4D #604B0F #0F6022
split-complementary
#0F2460 #60220F #4D600F
monochromatic
#040A1A #07102B #0F2460 #173895 #204CCA

Accessibility & contrast

On white

14.57
#0F2460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0F2460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2460
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2460#FFFFFF#000000##FFFFFF
##0F24601.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#00255F
Tritanopia (blue-blind)
#00333E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2460;
/* rgb */ color: rgb(15, 36, 96);
/* oklch */ color: oklch(28.7% 0.110 265.2);
Tailwind
colors: {
  custom: {
    50: '#5d5e8e',
    500: '#0f2460',
    950: '#000000',
  },
}
SCSS
$custom: #0f2460;
$custom-light: #5d5e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2460",
  "rgb": {
    "r": 15,
    "g": 36,
    "b": 96
  },
  "hsl": {
    "h": 224.444,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28668,
    "c": 0.11012,
    "h": 265.2
  },
  "luminance": 0.02208
}

Semantic roles & 50–950 ramp

primary
#0F2460
secondary
#997E32
accent
#C038F0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F2460

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

Preview Lab → · Contrast checker → · Palette generator →

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