#0F2248#0F2248

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

Color values

HEX#0F2248
RGBrgb(15, 34, 72)
HSLhsl(220, 66%, 17%)
HSVhsv(220, 79%, 28%)
CMYKcmyk(79.2%, 52.8%, 0%, 71.8%)
CIE-LABlab(13.90, 7.71, -26.03)
CIE-LCHlch(13.90, 27.15, 286.49°)
OKLaboklab(26.04% -0.0099 -0.0746)
OKLCHoklch(26.04% 0.075 262.4)
XYZxyz(1.9383, 1.7133, 6.3582)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2248 #48350F
analogous
#0F3F48 #0F2248 #190F48
triadic
#0F2248 #480F22 #22480F
tetradic
#0F2248 #480F3F #48350F #0F4819
square
#0F2248 #480F3F #48350F #0F4819
split-complementary
#0F2248 #48190F #3F480F
monochromatic
#050C19 #050C19 #0F2248 #1A3A7B #2452AD

Accessibility & contrast

On white

15.64
#0F2248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2248
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2248#FFFFFF#000000##FFFFFF
##0F22481.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2248;
/* rgb */ color: rgb(15, 34, 72);
/* oklch */ color: oklch(26.0% 0.075 262.4);
Tailwind
colors: {
  custom: {
    50: '#565c7b',
    500: '#0f2248',
    950: '#000000',
  },
}
SCSS
$custom: #0f2248;
$custom-light: #565c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2248",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 220,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26037,
    "c": 0.0753,
    "h": 262.4
  },
  "luminance": 0.01713
}

Semantic roles & 50–950 ramp

primary
#0F2248
secondary
#826730
accent
#B03FE8
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0F2248

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

Preview Lab → · Contrast checker → · Palette generator →

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