#0F2760#0F2760

#0F2760 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.106 H 263.8°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#0F2760
RGBrgb(15, 39, 96)
HSLhsl(222, 73%, 22%)
HSVhsv(222, 84%, 38%)
CMYKcmyk(84.4%, 59.4%, 0%, 62.4%)
CIE-LABlab(17.45, 14.43, -36.51)
CIE-LCHlch(17.45, 39.26, 291.57°)
OKLaboklab(29.35% -0.0114 -0.1054)
OKLCHoklch(29.35% 0.106 263.8)
XYZxyz(3.0331, 2.3968, 11.3668)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2760 #60480F
analogous
#0F5060 #0F2760 #200F60
triadic
#0F2760 #600F27 #27600F
tetradic
#0F2760 #600F50 #60480F #0F6020
square
#0F2760 #600F50 #60480F #0F6020
split-complementary
#0F2760 #60200F #50600F
monochromatic
#040B1A #07112B #0F2760 #173D95 #2052CA

Accessibility & contrast

On white

14.19
#0F2760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0F2760 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2760
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2760#FFFFFF#000000##FFFFFF
##0F27601.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#00353F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2760;
/* rgb */ color: rgb(15, 39, 96);
/* oklch */ color: oklch(29.3% 0.106 263.8);
Tailwind
colors: {
  custom: {
    50: '#5d608e',
    500: '#0f2760',
    950: '#000000',
  },
}
SCSS
$custom: #0f2760;
$custom-light: #5d608e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2760",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 96
  },
  "hsl": {
    "h": 222.222,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29349,
    "c": 0.10598,
    "h": 263.8
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#0F2760
secondary
#997B32
accent
#B938F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F2760

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

Preview Lab → · Contrast checker → · Palette generator →

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