#0F2450#0F2450

#0F2450 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.085 H 262.9°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#0F2450
RGBrgb(15, 36, 80)
HSLhsl(221, 68%, 19%)
HSVhsv(221, 81%, 31%)
CMYKcmyk(81.3%, 55%, 0%, 68.6%)
CIE-LABlab(15.18, 9.70, -29.45)
CIE-LCHlch(15.18, 31.01, 288.23°)
OKLaboklab(27.21% -0.0106 -0.0847)
OKLCHoklch(27.21% 0.085 262.9)
XYZxyz(2.2753, 1.9422, 7.8428)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2450 #503B0F
analogous
#0F4450 #0F2450 #1A0F50
triadic
#0F2450 #500F24 #24500F
tetradic
#0F2450 #500F44 #503B0F #0F501A
square
#0F2450 #500F44 #503B0F #0F501A
split-complementary
#0F2450 #501A0F #44500F
monochromatic
#050C1A #050D1C #0F2450 #193B84 #2252B7

Accessibility & contrast

On white

15.13
#0F2450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0F2450 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2450
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2450#FFFFFF#000000##FFFFFF
##0F24501.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092952
Deuteranopia (green-blind)
#00234F
Tritanopia (blue-blind)
#002F36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f2450;
/* rgb */ color: rgb(15, 36, 80);
/* oklch */ color: oklch(27.2% 0.085 262.9);
Tailwind
colors: {
  custom: {
    50: '#585e81',
    500: '#0f2450',
    950: '#000000',
  },
}
SCSS
$custom: #0f2450;
$custom-light: #585e81;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2450",
  "rgb": {
    "r": 15,
    "g": 36,
    "b": 80
  },
  "hsl": {
    "h": 220.615,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27212,
    "c": 0.08533,
    "h": 262.9
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#0F2450
secondary
#8A6D31
accent
#B33DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F2450

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

Preview Lab → · Contrast checker → · Palette generator →

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