#0F2B54#0F2B54

#0F2B54 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.3% C 0.082 H 258.2°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#0F2B54
RGBrgb(15, 43, 84)
HSLhsl(216, 70%, 19%)
HSVhsv(216, 82%, 33%)
CMYKcmyk(82.1%, 48.8%, 0%, 67.1%)
CIE-LABlab(17.78, 6.22, -27.98)
CIE-LCHlch(17.78, 28.66, 282.53°)
OKLaboklab(29.3% -0.0167 -0.0802)
OKLCHoklch(29.3% 0.082 258.2)
XYZxyz(2.6605, 2.4691, 8.7222)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B54 #54380F
analogous
#0F4E54 #0F2B54 #160F54
triadic
#0F2B54 #540F2B #2B540F
tetradic
#0F2B54 #540F4E #54380F #0F5416
square
#0F2B54 #540F4E #54380F #0F5416
split-complementary
#0F2B54 #54160F #4E540F
monochromatic
#050D1A #061020 #0F2B54 #184688 #2260BC

Accessibility & contrast

On white

14.06
#0F2B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0F2B54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B54
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B54#FFFFFF#000000##FFFFFF
##0F2B541.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162F56
Deuteranopia (green-blind)
#082953
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2b54;
/* rgb */ color: rgb(15, 43, 84);
/* oklch */ color: oklch(29.3% 0.082 258.2);
Tailwind
colors: {
  custom: {
    50: '#596384',
    500: '#0f2b54',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b54;
$custom-light: #596384;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b54",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 84
  },
  "hsl": {
    "h": 215.652,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29303,
    "c": 0.0819,
    "h": 258.2
  },
  "luminance": 0.02469
}

Semantic roles & 50–950 ramp

primary
#0F2B54
secondary
#8E6831
accent
#A53BED
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2B54

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

Preview Lab → · Contrast checker → · Palette generator →

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