#0F2756#0F2756

#0F2756 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.091 H 262.0°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#0F2756
RGBrgb(15, 39, 86)
HSLhsl(220, 70%, 20%)
HSVhsv(220, 83%, 34%)
CMYKcmyk(82.6%, 54.7%, 0%, 66.3%)
CIE-LABlab(16.62, 10.07, -31.18)
CIE-LCHlch(16.62, 32.77, 287.90°)
OKLaboklab(28.46% -0.0125 -0.0897)
OKLCHoklch(28.46% 0.091 262)
XYZxyz(2.6016, 2.2242, 9.0945)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2756 #563E0F
analogous
#0F4B56 #0F2756 #1A0F56
triadic
#0F2756 #560F27 #27560F
tetradic
#0F2756 #560F4B #563E0F #0F561A
square
#0F2756 #560F4B #563E0F #0F561A
split-complementary
#0F2756 #561A0F #4B560F
monochromatic
#050C1A #060F22 #0F2756 #183F8A #2156BE

Accessibility & contrast

On white

14.53
#0F2756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0F2756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2756
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2756#FFFFFF#000000##FFFFFF
##0F27561.0014.531.4414.53
#FFFFFF14.531.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2D58
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#00323A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2756;
/* rgb */ color: rgb(15, 39, 86);
/* oklch */ color: oklch(28.5% 0.091 262.0);
Tailwind
colors: {
  custom: {
    50: '#5a6086',
    500: '#0f2756',
    950: '#000000',
  },
}
SCSS
$custom: #0f2756;
$custom-light: #5a6086;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2756",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 86
  },
  "hsl": {
    "h": 219.718,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28463,
    "c": 0.09055,
    "h": 262
  },
  "luminance": 0.02224
}

Semantic roles & 50–950 ramp

primary
#0F2756
secondary
#907031
accent
#B13BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2756

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

Preview Lab → · Contrast checker → · Palette generator →

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