#0F2462#0F2462

#0F2462 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.113 H 265.4°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#0F2462
RGBrgb(15, 36, 98)
HSLhsl(225, 73%, 22%)
HSVhsv(225, 85%, 38%)
CMYKcmyk(84.7%, 63.3%, 0%, 61.6%)
CIE-LABlab(16.72, 17.52, -39.01)
CIE-LCHlch(16.72, 42.76, 294.19°)
OKLaboklab(28.86% -0.0091 -0.1127)
OKLCHoklch(28.86% 0.113 265.4)
XYZxyz(3.0317, 2.2448, 11.8264)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2462 #624D0F
analogous
#0F4E62 #0F2462 #230F62
triadic
#0F2462 #620F24 #24620F
tetradic
#0F2462 #620F4E #624D0F #0F6223
square
#0F2462 #620F4E #624D0F #0F6223
split-complementary
#0F2462 #62230F #4E620F
monochromatic
#040A1B #07112D #0F2462 #173797 #1F4BCC

Accessibility & contrast

On white

14.49
#0F2462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2462
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2462#FFFFFF#000000##FFFFFF
##0F24621.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D64
Deuteranopia (green-blind)
#002661
Tritanopia (blue-blind)
#00343F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2462;
/* rgb */ color: rgb(15, 36, 98);
/* oklch */ color: oklch(28.9% 0.113 265.4);
Tailwind
colors: {
  custom: {
    50: '#5d5e8f',
    500: '#0f2462',
    950: '#000000',
  },
}
SCSS
$custom: #0f2462;
$custom-light: #5d5e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2462",
  "rgb": {
    "r": 15,
    "g": 36,
    "b": 98
  },
  "hsl": {
    "h": 224.819,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28862,
    "c": 0.11312,
    "h": 265.4
  },
  "luminance": 0.02245
}

Semantic roles & 50–950 ramp

primary
#0F2462
secondary
#9B8032
accent
#C138F0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F2462

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

Preview Lab → · Contrast checker → · Palette generator →

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