#0F2556#0F2556

#0F2556 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.0% C 0.093 H 263.4°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#0F2556
RGBrgb(15, 37, 86)
HSLhsl(221, 70%, 20%)
HSVhsv(221, 83%, 34%)
CMYKcmyk(82.6%, 57%, 0%, 66.3%)
CIE-LABlab(15.98, 11.58, -32.21)
CIE-LCHlch(15.98, 34.23, 289.77°)
OKLaboklab(27.98% -0.0107 -0.0928)
OKLCHoklch(27.98% 0.093 263.4)
XYZxyz(2.5377, 2.0963, 9.0732)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2556 #56400F
analogous
#0F4956 #0F2556 #1C0F56
triadic
#0F2556 #560F25 #25560F
tetradic
#0F2556 #560F49 #56400F #0F561C
square
#0F2556 #560F49 #56400F #0F561C
split-complementary
#0F2556 #561C0F #49560F
monochromatic
#050B1A #060F22 #0F2556 #183B8A #2152BE

Accessibility & contrast

On white

14.79
#0F2556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2556
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2556#FFFFFF#000000##FFFFFF
##0F25561.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042B58
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#003139
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2556;
/* rgb */ color: rgb(15, 37, 86);
/* oklch */ color: oklch(28.0% 0.093 263.4);
Tailwind
colors: {
  custom: {
    50: '#5a5f86',
    500: '#0f2556',
    950: '#000000',
  },
}
SCSS
$custom: #0f2556;
$custom-light: #5a5f86;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2556",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 86
  },
  "hsl": {
    "h": 221.408,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27978,
    "c": 0.09338,
    "h": 263.4
  },
  "luminance": 0.02097
}

Semantic roles & 50–950 ramp

primary
#0F2556
secondary
#907231
accent
#B63BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2556

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

Preview Lab → · Contrast checker → · Palette generator →

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