#0F2455#0F2455

#0F2455 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.093 H 263.9°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#0F2455
RGBrgb(15, 36, 85)
HSLhsl(222, 70%, 20%)
HSVhsv(222, 82%, 33%)
CMYKcmyk(82.4%, 57.6%, 0%, 66.7%)
CIE-LABlab(15.59, 11.89, -32.18)
CIE-LCHlch(15.59, 34.31, 290.28°)
OKLaboklab(27.65% -0.01 -0.0927)
OKLCHoklch(27.65% 0.093 263.9)
XYZxyz(2.4670, 2.0189, 8.8522)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2455 #55400F
analogous
#0F4755 #0F2455 #1D0F55
triadic
#0F2455 #550F24 #24550F
tetradic
#0F2455 #550F47 #55400F #0F551D
square
#0F2455 #550F47 #55400F #0F551D
split-complementary
#0F2455 #551D0F #47550F
monochromatic
#050B1A #060E21 #0F2455 #183A89 #2150BD

Accessibility & contrast

On white

14.96
#0F2455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0F2455 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2455
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2455#FFFFFF#000000##FFFFFF
##0F24551.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022A57
Deuteranopia (green-blind)
#002454
Tritanopia (blue-blind)
#003038
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f2455;
/* rgb */ color: rgb(15, 36, 85);
/* oklch */ color: oklch(27.6% 0.093 263.9);
Tailwind
colors: {
  custom: {
    50: '#5a5e85',
    500: '#0f2455',
    950: '#000000',
  },
}
SCSS
$custom: #0f2455;
$custom-light: #5a5e85;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2455",
  "rgb": {
    "r": 15,
    "g": 36,
    "b": 85
  },
  "hsl": {
    "h": 222,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27649,
    "c": 0.09324,
    "h": 263.9
  },
  "luminance": 0.02019
}

Semantic roles & 50–950 ramp

primary
#0F2455
secondary
#8F7331
accent
#B73BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2455

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

Preview Lab → · Contrast checker → · Palette generator →

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