#0F2459#0F2459

#0F2459 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.0% C 0.099 H 264.5°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#0F2459
RGBrgb(15, 36, 89)
HSLhsl(223, 71%, 20%)
HSVhsv(223, 83%, 35%)
CMYKcmyk(83.1%, 59.6%, 0%, 65.1%)
CIE-LABlab(15.92, 13.64, -34.32)
CIE-LCHlch(15.92, 36.93, 291.67°)
OKLaboklab(28.01% -0.0096 -0.099)
OKLCHoklch(28.01% 0.099 264.5)
XYZxyz(2.6304, 2.0843, 9.7129)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2459 #59440F
analogous
#0F4959 #0F2459 #1F0F59
triadic
#0F2459 #590F24 #24590F
tetradic
#0F2459 #590F49 #59440F #0F591F
square
#0F2459 #590F49 #59440F #0F591F
split-complementary
#0F2459 #591F0F #49590F
monochromatic
#040B1A #060F25 #0F2459 #18398D #214EC2

Accessibility & contrast

On white

14.82
#0F2459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0F2459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2459
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2459#FFFFFF#000000##FFFFFF
##0F24591.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#002458
Tritanopia (blue-blind)
#00313A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2459;
/* rgb */ color: rgb(15, 36, 89);
/* oklch */ color: oklch(28.0% 0.099 264.5);
Tailwind
colors: {
  custom: {
    50: '#5b5e88',
    500: '#0f2459',
    950: '#000000',
  },
}
SCSS
$custom: #0f2459;
$custom-light: #5b5e88;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2459",
  "rgb": {
    "r": 15,
    "g": 36,
    "b": 89
  },
  "hsl": {
    "h": 222.973,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28011,
    "c": 0.09945,
    "h": 264.5
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#0F2459
secondary
#937731
accent
#BB3AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2459

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

Preview Lab → · Contrast checker → · Palette generator →

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