#0F2759#0F2759

#0F2759 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.095 H 262.7°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#0F2759
RGBrgb(15, 39, 89)
HSLhsl(221, 71%, 20%)
HSVhsv(221, 83%, 35%)
CMYKcmyk(83.1%, 56.2%, 0%, 65.1%)
CIE-LABlab(16.86, 11.38, -32.80)
CIE-LCHlch(16.86, 34.72, 289.14°)
OKLaboklab(28.72% -0.0121 -0.0945)
OKLCHoklch(28.72% 0.095 262.7)
XYZxyz(2.7250, 2.2736, 9.7445)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2759 #59410F
analogous
#0F4C59 #0F2759 #1C0F59
triadic
#0F2759 #590F27 #27590F
tetradic
#0F2759 #590F4C #59410F #0F591C
square
#0F2759 #590F4C #59410F #0F591C
split-complementary
#0F2759 #591C0F #4C590F
monochromatic
#040B1A #061025 #0F2759 #183E8D #2155C2

Accessibility & contrast

On white

14.43
#0F2759 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0F2759 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2759
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2759#FFFFFF#000000##FFFFFF
##0F27591.0014.431.4514.43
#FFFFFF14.431.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052D5B
Deuteranopia (green-blind)
#002658
Tritanopia (blue-blind)
#00333B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2759;
/* rgb */ color: rgb(15, 39, 89);
/* oklch */ color: oklch(28.7% 0.095 262.7);
Tailwind
colors: {
  custom: {
    50: '#5b6088',
    500: '#0f2759',
    950: '#000000',
  },
}
SCSS
$custom: #0f2759;
$custom-light: #5b6088;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2759",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 89
  },
  "hsl": {
    "h": 220.541,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28722,
    "c": 0.09524,
    "h": 262.7
  },
  "luminance": 0.02274
}

Semantic roles & 50–950 ramp

primary
#0F2759
secondary
#937331
accent
#B43AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2759

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

Preview Lab → · Contrast checker → · Palette generator →

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