#0F2C58#0F2C58

#0F2C58 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.087 H 258.8°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#0F2C58
RGBrgb(15, 44, 88)
HSLhsl(216, 71%, 20%)
HSVhsv(216, 83%, 35%)
CMYKcmyk(83%, 50%, 0%, 65.5%)
CIE-LABlab(18.40, 7.23, -29.66)
CIE-LCHlch(18.40, 30.53, 283.70°)
OKLaboklab(29.87% -0.0169 -0.0851)
OKLCHoklch(29.87% 0.087 258.8)
XYZxyz(2.8585, 2.6072, 9.5832)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C58 #583B0F
analogous
#0F5158 #0F2C58 #160F58
triadic
#0F2C58 #580F2C #2C580F
tetradic
#0F2C58 #580F51 #583B0F #0F5816
square
#0F2C58 #580F51 #583B0F #0F5816
split-complementary
#0F2C58 #58160F #51580F
monochromatic
#040D1A #061224 #0F2C58 #18468C #2160C1

Accessibility & contrast

On white

13.80
#0F2C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2C58
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C58#FFFFFF#000000##FFFFFF
##0F2C581.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15305A
Deuteranopia (green-blind)
#042A57
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2c58;
/* rgb */ color: rgb(15, 44, 88);
/* oklch */ color: oklch(29.9% 0.087 258.8);
Tailwind
colors: {
  custom: {
    50: '#5a6487',
    500: '#0f2c58',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c58;
$custom-light: #5a6487;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c58",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 88
  },
  "hsl": {
    "h": 216.164,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29873,
    "c": 0.08676,
    "h": 258.8
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#0F2C58
secondary
#926B31
accent
#A63AEE
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2C58

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

Preview Lab → · Contrast checker → · Palette generator →

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