#0F2555#0F2555

#0F2555 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.092 H 263.2°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#0F2555
RGBrgb(15, 37, 85)
HSLhsl(221, 70%, 20%)
HSVhsv(221, 82%, 33%)
CMYKcmyk(82.4%, 56.5%, 0%, 66.7%)
CIE-LABlab(15.90, 11.14, -31.67)
CIE-LCHlch(15.90, 33.57, 289.38°)
OKLaboklab(27.89% -0.0109 -0.0912)
OKLCHoklch(27.89% 0.092 263.2)
XYZxyz(2.4977, 2.0803, 8.8625)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2555 #553F0F
analogous
#0F4855 #0F2555 #1C0F55
triadic
#0F2555 #550F25 #25550F
tetradic
#0F2555 #550F48 #553F0F #0F551C
square
#0F2555 #550F48 #553F0F #0F551C
split-complementary
#0F2555 #551C0F #48550F
monochromatic
#050B1A #060E21 #0F2555 #183C89 #2152BD

Accessibility & contrast

On white

14.83
#0F2555 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0F2555 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2555
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2555#FFFFFF#000000##FFFFFF
##0F25551.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052B57
Deuteranopia (green-blind)
#002554
Tritanopia (blue-blind)
#003139
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2555;
/* rgb */ color: rgb(15, 37, 85);
/* oklch */ color: oklch(27.9% 0.092 263.2);
Tailwind
colors: {
  custom: {
    50: '#5a5f85',
    500: '#0f2555',
    950: '#000000',
  },
}
SCSS
$custom: #0f2555;
$custom-light: #5a5f85;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2555",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 85
  },
  "hsl": {
    "h": 221.143,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.2789,
    "c": 0.09182,
    "h": 263.2
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#0F2555
secondary
#8F7131
accent
#B53BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2555

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

Preview Lab → · Contrast checker → · Palette generator →

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