#0F2954#0F2954

#0F2954 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.085 H 259.9°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#0F2954
RGBrgb(15, 41, 84)
HSLhsl(217, 70%, 19%)
HSVhsv(217, 82%, 33%)
CMYKcmyk(82.1%, 51.2%, 0%, 67.1%)
CIE-LABlab(17.12, 7.70, -29.04)
CIE-LCHlch(17.12, 30.04, 284.85°)
OKLaboklab(28.8% -0.0148 -0.0833)
OKLCHoklch(28.8% 0.085 259.9)
XYZxyz(2.5896, 2.3272, 8.6985)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2954 #543A0F
analogous
#0F4C54 #0F2954 #170F54
triadic
#0F2954 #540F29 #29540F
tetradic
#0F2954 #540F4C #543A0F #0F5417
square
#0F2954 #540F4C #543A0F #0F5417
split-complementary
#0F2954 #54170F #4C540F
monochromatic
#050D1A #061020 #0F2954 #184288 #225CBC

Accessibility & contrast

On white

14.33
#0F2954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0F2954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2954
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2954#FFFFFF#000000##FFFFFF
##0F29541.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122E56
Deuteranopia (green-blind)
#022753
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2954;
/* rgb */ color: rgb(15, 41, 84);
/* oklch */ color: oklch(28.8% 0.085 259.9);
Tailwind
colors: {
  custom: {
    50: '#596284',
    500: '#0f2954',
    950: '#000000',
  },
}
SCSS
$custom: #0f2954;
$custom-light: #596284;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2954",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 84
  },
  "hsl": {
    "h": 217.391,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28795,
    "c": 0.08463,
    "h": 259.9
  },
  "luminance": 0.02328
}

Semantic roles & 50–950 ramp

primary
#0F2954
secondary
#8E6B31
accent
#AA3BED
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2954

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

Preview Lab → · Contrast checker → · Palette generator →

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