#0F2B57#0F2B57

#0F2B57 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.087 H 259.3°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#0F2B57
RGBrgb(15, 43, 87)
HSLhsl(217, 71%, 20%)
HSVhsv(217, 83%, 34%)
CMYKcmyk(82.8%, 50.6%, 0%, 65.9%)
CIE-LABlab(18.00, 7.53, -29.64)
CIE-LCHlch(18.00, 30.58, 284.26°)
OKLaboklab(29.54% -0.0161 -0.085)
OKLCHoklch(29.54% 0.087 259.3)
XYZxyz(2.7806, 2.5171, 9.3543)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B57 #573B0F
analogous
#0F4F57 #0F2B57 #170F57
triadic
#0F2B57 #570F2B #2B570F
tetradic
#0F2B57 #570F4F #573B0F #0F5717
square
#0F2B57 #570F4F #573B0F #0F5717
split-complementary
#0F2B57 #57170F #4F570F
monochromatic
#050D1A #061123 #0F2B57 #18458B #215FBF

Accessibility & contrast

On white

13.97
#0F2B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0F2B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B57
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B57#FFFFFF#000000##FFFFFF
##0F2B571.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133059
Deuteranopia (green-blind)
#032956
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2b57;
/* rgb */ color: rgb(15, 43, 87);
/* oklch */ color: oklch(29.5% 0.087 259.3);
Tailwind
colors: {
  custom: {
    50: '#5a6387',
    500: '#0f2b57',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b57;
$custom-light: #5a6387;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b57",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 87
  },
  "hsl": {
    "h": 216.667,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.29541,
    "c": 0.08656,
    "h": 259.3
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#0F2B57
secondary
#916C31
accent
#A83AED
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2B57

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

Preview Lab → · Contrast checker → · Palette generator →

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