#0F2059#0F2059

#0F2059 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.105 H 266.5°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#0F2059
RGBrgb(15, 32, 89)
HSLhsl(226, 71%, 20%)
HSVhsv(226, 83%, 35%)
CMYKcmyk(83.1%, 64%, 0%, 65.1%)
CIE-LABlab(14.71, 16.64, -36.30)
CIE-LCHlch(14.71, 39.93, 294.63°)
OKLaboklab(27.1% -0.0064 -0.1049)
OKLCHoklch(27.1% 0.105 266.5)
XYZxyz(2.5161, 1.8556, 9.6748)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2059 #59480F
analogous
#0F4559 #0F2059 #230F59
triadic
#0F2059 #590F20 #20590F
tetradic
#0F2059 #590F45 #59480F #0F5923
square
#0F2059 #590F45 #59480F #0F5923
split-complementary
#0F2059 #59230F #45590F
monochromatic
#04091A #060D25 #0F2059 #18338D #2146C2

Accessibility & contrast

On white

15.32
#0F2059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0F2059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2059
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2059#FFFFFF#000000##FFFFFF
##0F20591.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#002258
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f2059;
/* rgb */ color: rgb(15, 32, 89);
/* oklch */ color: oklch(27.1% 0.105 266.5);
Tailwind
colors: {
  custom: {
    50: '#5b5b88',
    500: '#0f2059',
    950: '#000000',
  },
}
SCSS
$custom: #0f2059;
$custom-light: #5b5b88;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2059",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 89
  },
  "hsl": {
    "h": 226.216,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.271,
    "c": 0.10507,
    "h": 266.5
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

primary
#0F2059
secondary
#937C31
accent
#C53AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2059

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

Preview Lab → · Contrast checker → · Palette generator →

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