#0F2254#0F2254

#0F2254 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.095 H 264.9°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#0F2254
RGBrgb(15, 34, 84)
HSLhsl(223, 70%, 19%)
HSVhsv(223, 82%, 33%)
CMYKcmyk(82.1%, 59.5%, 0%, 67.1%)
CIE-LABlab(14.87, 12.97, -32.66)
CIE-LCHlch(14.87, 35.14, 291.66°)
OKLaboklab(27.08% -0.0083 -0.0941)
OKLCHoklch(27.08% 0.095 264.9)
XYZxyz(2.3687, 1.8854, 8.6249)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2254 #54410F
analogous
#0F4554 #0F2254 #1F0F54
triadic
#0F2254 #540F22 #22540F
tetradic
#0F2254 #540F45 #54410F #0F541F
square
#0F2254 #540F45 #54410F #0F541F
split-complementary
#0F2254 #541F0F #45540F
monochromatic
#050B1A #060D20 #0F2254 #183788 #224CBC

Accessibility & contrast

On white

15.25
#0F2254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2254
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2254#FFFFFF#000000##FFFFFF
##0F22541.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002956
Deuteranopia (green-blind)
#002253
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f2254;
/* rgb */ color: rgb(15, 34, 84);
/* oklch */ color: oklch(27.1% 0.095 264.9);
Tailwind
colors: {
  custom: {
    50: '#595c85',
    500: '#0f2254',
    950: '#000000',
  },
}
SCSS
$custom: #0f2254;
$custom-light: #595c85;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2254",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 223.478,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27084,
    "c": 0.09452,
    "h": 264.9
  },
  "luminance": 0.01886
}

Semantic roles & 50–950 ramp

primary
#0F2254
secondary
#8E7431
accent
#BC3BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2254

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

Preview Lab → · Contrast checker → · Palette generator →

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