#0F2758#0F2758

#0F2758 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.094 H 262.5°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#0F2758
RGBrgb(15, 39, 88)
HSLhsl(220, 71%, 20%)
HSVhsv(220, 83%, 35%)
CMYKcmyk(83%, 55.7%, 0%, 65.5%)
CIE-LABlab(16.78, 10.95, -32.26)
CIE-LCHlch(16.78, 34.07, 288.74°)
OKLaboklab(28.64% -0.0123 -0.0929)
OKLCHoklch(28.64% 0.094 262.5)
XYZxyz(2.6833, 2.2569, 9.5248)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2758 #58400F
analogous
#0F4B58 #0F2758 #1B0F58
triadic
#0F2758 #580F27 #27580F
tetradic
#0F2758 #580F4B #58400F #0F581B
square
#0F2758 #580F4B #58400F #0F581B
split-complementary
#0F2758 #581B0F #4B580F
monochromatic
#040C1A #061024 #0F2758 #183E8C #2155C1

Accessibility & contrast

On white

14.47
#0F2758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2758
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2758#FFFFFF#000000##FFFFFF
##0F27581.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072D5A
Deuteranopia (green-blind)
#002657
Tritanopia (blue-blind)
#00333B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2758;
/* rgb */ color: rgb(15, 39, 88);
/* oklch */ color: oklch(28.6% 0.094 262.5);
Tailwind
colors: {
  custom: {
    50: '#5a6087',
    500: '#0f2758',
    950: '#000000',
  },
}
SCSS
$custom: #0f2758;
$custom-light: #5a6087;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2758",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 220.274,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28635,
    "c": 0.09368,
    "h": 262.5
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#0F2758
secondary
#927231
accent
#B33AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2758

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

Preview Lab → · Contrast checker → · Palette generator →

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