#0F2955#0F2955

#0F2955 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.086 H 260.3°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#0F2955
RGBrgb(15, 41, 85)
HSLhsl(218, 70%, 20%)
HSVhsv(218, 82%, 33%)
CMYKcmyk(82.4%, 51.8%, 0%, 66.7%)
CIE-LABlab(17.19, 8.14, -29.59)
CIE-LCHlch(17.19, 30.69, 285.38°)
OKLaboklab(28.88% -0.0146 -0.085)
OKLCHoklch(28.88% 0.086 260.3)
XYZxyz(2.6290, 2.3430, 8.9063)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2955 #553B0F
analogous
#0F4C55 #0F2955 #180F55
triadic
#0F2955 #550F29 #29550F
tetradic
#0F2955 #550F4C #553B0F #0F5518
square
#0F2955 #550F4C #553B0F #0F5518
split-complementary
#0F2955 #55180F #4C550F
monochromatic
#050D1A #061021 #0F2955 #184289 #215BBD

Accessibility & contrast

On white

14.30
#0F2955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2955
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2955#FFFFFF#000000##FFFFFF
##0F29551.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112E57
Deuteranopia (green-blind)
#002754
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2955;
/* rgb */ color: rgb(15, 41, 85);
/* oklch */ color: oklch(28.9% 0.086 260.3);
Tailwind
colors: {
  custom: {
    50: '#596285',
    500: '#0f2955',
    950: '#000000',
  },
}
SCSS
$custom: #0f2955;
$custom-light: #596285;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2955",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 85
  },
  "hsl": {
    "h": 217.714,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28876,
    "c": 0.0862,
    "h": 260.3
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#0F2955
secondary
#8F6C31
accent
#AB3BED
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2955

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

Preview Lab → · Contrast checker → · Palette generator →

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