#0F2654#0F2654

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

Color values

HEX#0F2654
RGBrgb(15, 38, 84)
HSLhsl(220, 70%, 19%)
HSVhsv(220, 82%, 33%)
CMYKcmyk(82.1%, 54.8%, 0%, 67.1%)
CIE-LABlab(16.14, 9.95, -30.61)
CIE-LCHlch(16.14, 32.18, 288.00°)
OKLaboklab(28.05% -0.0119 -0.088)
OKLCHoklch(28.05% 0.089 262.3)
XYZxyz(2.4898, 2.1276, 8.6652)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2654 #543D0F
analogous
#0F4954 #0F2654 #1B0F54
triadic
#0F2654 #540F26 #26540F
tetradic
#0F2654 #540F49 #543D0F #0F541B
square
#0F2654 #540F49 #543D0F #0F541B
split-complementary
#0F2654 #541B0F #49540F
monochromatic
#050C1A #060F20 #0F2654 #183D88 #2255BC

Accessibility & contrast

On white

14.73
#0F2654 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0F2654 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2654
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2654#FFFFFF#000000##FFFFFF
##0F26541.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2B56
Deuteranopia (green-blind)
#002553
Tritanopia (blue-blind)
#003139
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2654;
/* rgb */ color: rgb(15, 38, 84);
/* oklch */ color: oklch(28.0% 0.089 262.3);
Tailwind
colors: {
  custom: {
    50: '#595f84',
    500: '#0f2654',
    950: '#000000',
  },
}
SCSS
$custom: #0f2654;
$custom-light: #595f84;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2654",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 84
  },
  "hsl": {
    "h": 220,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28047,
    "c": 0.08882,
    "h": 262.3
  },
  "luminance": 0.02128
}

Semantic roles & 50–950 ramp

primary
#0F2654
secondary
#8E6F31
accent
#B13BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2654

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

Preview Lab → · Contrast checker → · Palette generator →

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