#0F2956#0F2956

#0F2956 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.088 H 260.5°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#0F2956
RGBrgb(15, 41, 86)
HSLhsl(218, 70%, 20%)
HSVhsv(218, 83%, 34%)
CMYKcmyk(82.6%, 52.3%, 0%, 66.3%)
CIE-LABlab(17.27, 8.58, -30.14)
CIE-LCHlch(17.27, 31.33, 285.89°)
OKLaboklab(28.96% -0.0144 -0.0866)
OKLCHoklch(28.96% 0.088 260.5)
XYZxyz(2.6690, 2.3590, 9.1170)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2956 #563C0F
analogous
#0F4D56 #0F2956 #180F56
triadic
#0F2956 #560F29 #29560F
tetradic
#0F2956 #560F4D #563C0F #0F5618
square
#0F2956 #560F4D #563C0F #0F5618
split-complementary
#0F2956 #56180F #4D560F
monochromatic
#050C1A #061022 #0F2956 #18428A #215BBE

Accessibility & contrast

On white

14.27
#0F2956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0F2956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2956
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2956#FFFFFF#000000##FFFFFF
##0F29561.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102E58
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2956;
/* rgb */ color: rgb(15, 41, 86);
/* oklch */ color: oklch(29.0% 0.088 260.5);
Tailwind
colors: {
  custom: {
    50: '#5a6286',
    500: '#0f2956',
    950: '#000000',
  },
}
SCSS
$custom: #0f2956;
$custom-light: #5a6286;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2956",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 86
  },
  "hsl": {
    "h": 218.028,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28958,
    "c": 0.08776,
    "h": 260.5
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#0F2956
secondary
#906D31
accent
#AC3BED
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2956

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

Preview Lab → · Contrast checker → · Palette generator →

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