#0F2755#0F2755

#0F2755 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.089 H 261.8°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#0F2755
RGBrgb(15, 39, 85)
HSLhsl(219, 70%, 20%)
HSVhsv(219, 82%, 33%)
CMYKcmyk(82.4%, 54.1%, 0%, 66.7%)
CIE-LABlab(16.54, 9.63, -30.63)
CIE-LCHlch(16.54, 32.11, 287.46°)
OKLaboklab(28.38% -0.0127 -0.0881)
OKLCHoklch(28.38% 0.089 261.8)
XYZxyz(2.5616, 2.2082, 8.8838)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2755 #553D0F
analogous
#0F4A55 #0F2755 #1A0F55
triadic
#0F2755 #550F27 #27550F
tetradic
#0F2755 #550F4A #553D0F #0F551A
square
#0F2755 #550F4A #553D0F #0F551A
split-complementary
#0F2755 #551A0F #4A550F
monochromatic
#050C1A #060F21 #0F2755 #183F89 #2157BD

Accessibility & contrast

On white

14.57
#0F2755 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2755
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2755#FFFFFF#000000##FFFFFF
##0F27551.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2755;
/* rgb */ color: rgb(15, 39, 85);
/* oklch */ color: oklch(28.4% 0.089 261.8);
Tailwind
colors: {
  custom: {
    50: '#596085',
    500: '#0f2755',
    950: '#000000',
  },
}
SCSS
$custom: #0f2755;
$custom-light: #596085;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2755",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 85
  },
  "hsl": {
    "h": 219.429,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28379,
    "c": 0.08899,
    "h": 261.8
  },
  "luminance": 0.02208
}

Semantic roles & 50–950 ramp

primary
#0F2755
secondary
#8F6F31
accent
#B03BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2755

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

Preview Lab → · Contrast checker → · Palette generator →

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