#0F2659#0F2659

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

Color values

HEX#0F2659
RGBrgb(15, 38, 89)
HSLhsl(221, 71%, 20%)
HSVhsv(221, 83%, 35%)
CMYKcmyk(83.1%, 57.3%, 0%, 65.1%)
CIE-LABlab(16.55, 12.14, -33.31)
CIE-LCHlch(16.55, 35.45, 290.02°)
OKLaboklab(28.48% -0.0113 -0.096)
OKLCHoklch(28.48% 0.097 263.3)
XYZxyz(2.6926, 2.2087, 9.7337)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2659 #59420F
analogous
#0F4B59 #0F2659 #1D0F59
triadic
#0F2659 #590F26 #26590F
tetradic
#0F2659 #590F4B #59420F #0F591D
square
#0F2659 #590F4B #59420F #0F591D
split-complementary
#0F2659 #591D0F #4B590F
monochromatic
#040B1A #061025 #0F2659 #183C8D #2153C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F2659#FFFFFF#000000##FFFFFF
##0F26591.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)
#022C5B
Deuteranopia (green-blind)
#002658
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2659;
/* rgb */ color: rgb(15, 38, 89);
/* oklch */ color: oklch(28.5% 0.097 263.3);
Tailwind
colors: {
  custom: {
    50: '#5b5f88',
    500: '#0f2659',
    950: '#000000',
  },
}
SCSS
$custom: #0f2659;
$custom-light: #5b5f88;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2659",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 89
  },
  "hsl": {
    "h": 221.351,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28483,
    "c": 0.09664,
    "h": 263.3
  },
  "luminance": 0.02209
}

Semantic roles & 50–950 ramp

primary
#0F2659
secondary
#937431
accent
#B63AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2659

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

Preview Lab → · Contrast checker → · Palette generator →

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