#0F2656#0F2656

#0F2656 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.2% C 0.092 H 262.7°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#0F2656
RGBrgb(15, 38, 86)
HSLhsl(221, 70%, 20%)
HSVhsv(221, 83%, 34%)
CMYKcmyk(82.6%, 55.8%, 0%, 66.3%)
CIE-LABlab(16.30, 10.82, -31.70)
CIE-LCHlch(16.30, 33.49, 288.85°)
OKLaboklab(28.22% -0.0116 -0.0912)
OKLCHoklch(28.22% 0.092 262.7)
XYZxyz(2.5692, 2.1594, 9.0837)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2656 #563F0F
analogous
#0F4A56 #0F2656 #1B0F56
triadic
#0F2656 #560F26 #26560F
tetradic
#0F2656 #560F4A #563F0F #0F561B
square
#0F2656 #560F4A #563F0F #0F561B
split-complementary
#0F2656 #561B0F #4A560F
monochromatic
#050C1A #060F22 #0F2656 #183D8A #2154BE

Accessibility & contrast

On white

14.66
#0F2656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0F2656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2656
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2656#FFFFFF#000000##FFFFFF
##0F26561.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072C58
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#00323A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2656;
/* rgb */ color: rgb(15, 38, 86);
/* oklch */ color: oklch(28.2% 0.092 262.7);
Tailwind
colors: {
  custom: {
    50: '#5a5f86',
    500: '#0f2656',
    950: '#000000',
  },
}
SCSS
$custom: #0f2656;
$custom-light: #5a5f86;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2656",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 86
  },
  "hsl": {
    "h": 220.563,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28219,
    "c": 0.09197,
    "h": 262.7
  },
  "luminance": 0.0216
}

Semantic roles & 50–950 ramp

primary
#0F2656
secondary
#907131
accent
#B33BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2656

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

Preview Lab → · Contrast checker → · Palette generator →

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