#0F2C57#0F2C57

#0F2C57 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.085 H 258.4°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#0F2C57
RGBrgb(15, 44, 87)
HSLhsl(216, 71%, 20%)
HSVhsv(216, 83%, 34%)
CMYKcmyk(82.8%, 49.4%, 0%, 65.9%)
CIE-LABlab(18.32, 6.79, -29.11)
CIE-LCHlch(18.32, 29.89, 283.14°)
OKLaboklab(29.79% -0.0171 -0.0835)
OKLCHoklch(29.79% 0.085 258.4)
XYZxyz(2.8174, 2.5907, 9.3666)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C57 #573A0F
analogous
#0F5057 #0F2C57 #160F57
triadic
#0F2C57 #570F2C #2C570F
tetradic
#0F2C57 #570F50 #573A0F #0F5716
square
#0F2C57 #570F50 #573A0F #0F5716
split-complementary
#0F2C57 #57160F #50570F
monochromatic
#050D1A #061223 #0F2C57 #18468B #2161BF

Accessibility & contrast

On white

13.83
#0F2C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0F2C57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C57
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C57#FFFFFF#000000##FFFFFF
##0F2C571.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153059
Deuteranopia (green-blind)
#062A56
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2c57;
/* rgb */ color: rgb(15, 44, 87);
/* oklch */ color: oklch(29.8% 0.085 258.4);
Tailwind
colors: {
  custom: {
    50: '#5a6487',
    500: '#0f2c57',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c57;
$custom-light: #5a6487;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c57",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 87
  },
  "hsl": {
    "h": 215.833,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.29794,
    "c": 0.08521,
    "h": 258.4
  },
  "luminance": 0.02591
}

Semantic roles & 50–950 ramp

primary
#0F2C57
secondary
#916A31
accent
#A53AED
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2C57

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

Preview Lab → · Contrast checker → · Palette generator →

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