#0F2545#0F2545

#0F2545 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 26.6% C 0.066 H 257.9°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#0F2545
RGBrgb(15, 37, 69)
HSLhsl(216, 64%, 16%)
HSVhsv(216, 78%, 27%)
CMYKcmyk(78.3%, 46.4%, 0%, 72.9%)
CIE-LABlab(14.70, 4.13, -22.68)
CIE-LCHlch(14.70, 23.05, 280.31°)
OKLaboklab(26.58% -0.0139 -0.0647)
OKLCHoklch(26.58% 0.066 257.9)
XYZxyz(1.9324, 1.8542, 5.8851)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2545 #452F0F
analogous
#0F4045 #0F2545 #140F45
triadic
#0F2545 #450F25 #25450F
tetradic
#0F2545 #450F40 #452F0F #0F4514
square
#0F2545 #450F40 #452F0F #0F4514
split-complementary
#0F2545 #45140F #40450F
monochromatic
#050D19 #050D19 #0F2545 #1A4077 #255BAA

Accessibility & contrast

On white

15.32
#0F2545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0F2545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2545
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2545#FFFFFF#000000##FFFFFF
##0F25451.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162846
Deuteranopia (green-blind)
#0D2344
Tritanopia (blue-blind)
#002C31
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f2545;
/* rgb */ color: rgb(15, 37, 69);
/* oklch */ color: oklch(26.6% 0.066 257.9);
Tailwind
colors: {
  custom: {
    50: '#555f79',
    500: '#0f2545',
    950: '#000000',
  },
}
SCSS
$custom: #0f2545;
$custom-light: #555f79;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2545",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 69
  },
  "hsl": {
    "h": 215.556,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26583,
    "c": 0.06621,
    "h": 257.9
  },
  "luminance": 0.01854
}

Semantic roles & 50–950 ramp

primary
#0F2545
secondary
#7F5F30
accent
#A341E7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0F2545

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

Preview Lab → · Contrast checker → · Palette generator →

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