#0F2562#0F2562

#0F2562 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.112 H 265.0°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#0F2562
RGBrgb(15, 37, 98)
HSLhsl(224, 73%, 22%)
HSVhsv(224, 85%, 38%)
CMYKcmyk(84.7%, 62.2%, 0%, 61.6%)
CIE-LABlab(17.02, 16.78, -38.52)
CIE-LCHlch(17.02, 42.02, 293.54°)
OKLaboklab(29.08% -0.0098 -0.1113)
OKLCHoklch(29.08% 0.112 265)
XYZxyz(3.0624, 2.3062, 11.8366)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2562 #624C0F
analogous
#0F4F62 #0F2562 #220F62
triadic
#0F2562 #620F25 #25620F
tetradic
#0F2562 #620F4F #624C0F #0F6222
square
#0F2562 #620F4F #624C0F #0F6222
split-complementary
#0F2562 #62220F #4F620F
monochromatic
#040A1B #07112D #0F2562 #173997 #1F4DCC

Accessibility & contrast

On white

14.37
#0F2562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0F2562 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2562
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2562#FFFFFF#000000##FFFFFF
##0F25621.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E64
Deuteranopia (green-blind)
#002661
Tritanopia (blue-blind)
#00343F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2562;
/* rgb */ color: rgb(15, 37, 98);
/* oklch */ color: oklch(29.1% 0.112 265.0);
Tailwind
colors: {
  custom: {
    50: '#5d5f8f',
    500: '#0f2562',
    950: '#000000',
  },
}
SCSS
$custom: #0f2562;
$custom-light: #5d5f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2562",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 98
  },
  "hsl": {
    "h": 224.096,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29083,
    "c": 0.11175,
    "h": 265
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#0F2562
secondary
#9B7F32
accent
#BF38F0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F2562

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

Preview Lab → · Contrast checker → · Palette generator →

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