#0F2056#0F2056

#0F2056 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.100 H 266.3°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#0F2056
RGBrgb(15, 32, 86)
HSLhsl(226, 70%, 20%)
HSVhsv(226, 83%, 34%)
CMYKcmyk(82.6%, 62.8%, 0%, 66.3%)
CIE-LABlab(14.44, 15.35, -34.73)
CIE-LCHlch(14.44, 37.97, 293.85°)
OKLaboklab(26.81% -0.0065 -0.1003)
OKLCHoklch(26.81% 0.1 266.3)
XYZxyz(2.3926, 1.8062, 9.0248)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2056 #56450F
analogous
#0F4456 #0F2056 #220F56
triadic
#0F2056 #560F20 #20560F
tetradic
#0F2056 #560F44 #56450F #0F5622
square
#0F2056 #560F44 #56450F #0F5622
split-complementary
#0F2056 #56220F #44560F
monochromatic
#050A1A #060D22 #0F2056 #18338A #2147BE

Accessibility & contrast

On white

15.43
#0F2056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0F2056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2056
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2056#FFFFFF#000000##FFFFFF
##0F20561.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#002155
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f2056;
/* rgb */ color: rgb(15, 32, 86);
/* oklch */ color: oklch(26.8% 0.100 266.3);
Tailwind
colors: {
  custom: {
    50: '#5a5b86',
    500: '#0f2056',
    950: '#000000',
  },
}
SCSS
$custom: #0f2056;
$custom-light: #5a5b86;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2056",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 225.634,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26809,
    "c": 0.10046,
    "h": 266.3
  },
  "luminance": 0.01806
}

Semantic roles & 50–950 ramp

primary
#0F2056
secondary
#907931
accent
#C23BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2056

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

Preview Lab → · Contrast checker → · Palette generator →

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