#0F2247#0F2247

#0F2247 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.074 H 262.1°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#0F2247
RGBrgb(15, 34, 71)
HSLhsl(220, 65%, 17%)
HSVhsv(220, 79%, 28%)
CMYKcmyk(78.9%, 52.1%, 0%, 72.2%)
CIE-LABlab(13.83, 7.27, -25.46)
CIE-LCHlch(13.83, 26.48, 285.93°)
OKLaboklab(25.96% -0.0101 -0.073)
OKLCHoklch(25.96% 0.074 262.1)
XYZxyz(1.9060, 1.7003, 6.1878)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2247 #47340F
analogous
#0F3E47 #0F2247 #180F47
triadic
#0F2247 #470F22 #22470F
tetradic
#0F2247 #470F3E #47340F #0F4718
square
#0F2247 #470F3E #47340F #0F4718
split-complementary
#0F2247 #47180F #3E470F
monochromatic
#050C19 #050C19 #0F2247 #1A3A7A #2452AC

Accessibility & contrast

On white

15.67
#0F2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0F2247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2247
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2247#FFFFFF#000000##FFFFFF
##0F22471.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2648
Deuteranopia (green-blind)
#042146
Tritanopia (blue-blind)
#002B31
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f2247;
/* rgb */ color: rgb(15, 34, 71);
/* oklch */ color: oklch(26.0% 0.074 262.1);
Tailwind
colors: {
  custom: {
    50: '#565c7a',
    500: '#0f2247',
    950: '#000000',
  },
}
SCSS
$custom: #0f2247;
$custom-light: #565c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2247",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 219.643,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25955,
    "c": 0.07367,
    "h": 262.1
  },
  "luminance": 0.01701
}

Semantic roles & 50–950 ramp

primary
#0F2247
secondary
#816630
accent
#AF40E8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0F2247

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

Preview Lab → · Contrast checker → · Palette generator →

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