#0F2754#0F2754

#0F2754 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.087 H 261.5°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#0F2754
RGBrgb(15, 39, 84)
HSLhsl(219, 70%, 19%)
HSVhsv(219, 82%, 33%)
CMYKcmyk(82.1%, 53.6%, 0%, 67.1%)
CIE-LABlab(16.47, 9.20, -30.09)
CIE-LCHlch(16.47, 31.46, 287.00°)
OKLaboklab(28.29% -0.0129 -0.0865)
OKLCHoklch(28.29% 0.087 261.5)
XYZxyz(2.5222, 2.1924, 8.6760)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2754 #543C0F
analogous
#0F4A54 #0F2754 #190F54
triadic
#0F2754 #540F27 #27540F
tetradic
#0F2754 #540F4A #543C0F #0F5419
square
#0F2754 #540F4A #543C0F #0F5419
split-complementary
#0F2754 #54190F #4A540F
monochromatic
#050C1A #060F20 #0F2754 #183F88 #2257BC

Accessibility & contrast

On white

14.60
#0F2754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0F2754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2754
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2754#FFFFFF#000000##FFFFFF
##0F27541.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2C56
Deuteranopia (green-blind)
#002653
Tritanopia (blue-blind)
#003239
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2754;
/* rgb */ color: rgb(15, 39, 84);
/* oklch */ color: oklch(28.3% 0.087 261.5);
Tailwind
colors: {
  custom: {
    50: '#596084',
    500: '#0f2754',
    950: '#000000',
  },
}
SCSS
$custom: #0f2754;
$custom-light: #596084;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2754",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 84
  },
  "hsl": {
    "h": 219.13,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28294,
    "c": 0.08742,
    "h": 261.5
  },
  "luminance": 0.02193
}

Semantic roles & 50–950 ramp

primary
#0F2754
secondary
#8E6E31
accent
#AF3BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2754

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

Preview Lab → · Contrast checker → · Palette generator →

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