#0F2048#0F2048

#0F2048 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.078 H 264.3°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#0F2048
RGBrgb(15, 32, 72)
HSLhsl(222, 66%, 17%)
HSVhsv(222, 79%, 28%)
CMYKcmyk(79.2%, 55.6%, 0%, 71.8%)
CIE-LABlab(13.24, 9.24, -27.10)
CIE-LCHlch(13.24, 28.63, 288.82°)
OKLaboklab(25.53% -0.0078 -0.0778)
OKLCHoklch(25.53% 0.078 264.3)
XYZxyz(1.8828, 1.6023, 6.3397)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2048 #48370F
analogous
#0F3D48 #0F2048 #1B0F48
triadic
#0F2048 #480F20 #20480F
tetradic
#0F2048 #480F3D #48370F #0F481B
square
#0F2048 #480F3D #48370F #0F481B
split-complementary
#0F2048 #481B0F #3D480F
monochromatic
#050B19 #050B19 #0F2048 #1A377B #244DAD

Accessibility & contrast

On white

15.90
#0F2048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0F2048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2048
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2048#FFFFFF#000000##FFFFFF
##0F20481.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092549
Deuteranopia (green-blind)
#002047
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f2048;
/* rgb */ color: rgb(15, 32, 72);
/* oklch */ color: oklch(25.5% 0.078 264.3);
Tailwind
colors: {
  custom: {
    50: '#565a7b',
    500: '#0f2048',
    950: '#000000',
  },
}
SCSS
$custom: #0f2048;
$custom-light: #565a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2048",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 222.105,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25532,
    "c": 0.0782,
    "h": 264.3
  },
  "luminance": 0.01602
}

Semantic roles & 50–950 ramp

primary
#0F2048
secondary
#826A30
accent
#B63FE8
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0F2048

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

Preview Lab → · Contrast checker → · Palette generator →

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