#0F2255#0F2255

#0F2255 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.096 H 265.1°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#0F2255
RGBrgb(15, 34, 85)
HSLhsl(224, 70%, 20%)
HSVhsv(224, 82%, 33%)
CMYKcmyk(82.4%, 60%, 0%, 66.7%)
CIE-LABlab(14.96, 13.40, -33.20)
CIE-LCHlch(14.96, 35.80, 291.99°)
OKLaboklab(27.18% -0.0082 -0.0957)
OKLCHoklch(27.18% 0.096 265.1)
XYZxyz(2.4081, 1.9012, 8.8326)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2255 #55420F
analogous
#0F4555 #0F2255 #1F0F55
triadic
#0F2255 #550F22 #22550F
tetradic
#0F2255 #550F45 #55420F #0F551F
square
#0F2255 #550F45 #55420F #0F551F
split-complementary
#0F2255 #551F0F #45550F
monochromatic
#050A1A #060D21 #0F2255 #183789 #214CBD

Accessibility & contrast

On white

15.22
#0F2255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0F2255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2255
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2255#FFFFFF#000000##FFFFFF
##0F22551.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#002354
Tritanopia (blue-blind)
#002F37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f2255;
/* rgb */ color: rgb(15, 34, 85);
/* oklch */ color: oklch(27.2% 0.096 265.1);
Tailwind
colors: {
  custom: {
    50: '#5a5c85',
    500: '#0f2255',
    950: '#000000',
  },
}
SCSS
$custom: #0f2255;
$custom-light: #5a5c85;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2255",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 223.714,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27176,
    "c": 0.09607,
    "h": 265.1
  },
  "luminance": 0.01901
}

Semantic roles & 50–950 ramp

primary
#0F2255
secondary
#8F7531
accent
#BD3BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2255

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

Preview Lab → · Contrast checker → · Palette generator →

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