#0F2C55#0F2C55

#0F2C55 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.6% C 0.082 H 257.7°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#0F2C55
RGBrgb(15, 44, 85)
HSLhsl(215, 70%, 20%)
HSVhsv(215, 82%, 33%)
CMYKcmyk(82.4%, 48.2%, 0%, 66.7%)
CIE-LABlab(18.18, 5.92, -28.00)
CIE-LCHlch(18.18, 28.62, 281.94°)
OKLaboklab(29.64% -0.0175 -0.0802)
OKLCHoklch(29.64% 0.082 257.7)
XYZxyz(2.7368, 2.5585, 8.9422)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C55 #55380F
analogous
#0F4F55 #0F2C55 #150F55
triadic
#0F2C55 #550F2C #2C550F
tetradic
#0F2C55 #550F4F #55380F #0F5515
square
#0F2C55 #550F4F #55380F #0F5515
split-complementary
#0F2C55 #55150F #4F550F
monochromatic
#050D1A #061121 #0F2C55 #184789 #2162BD

Accessibility & contrast

On white

13.89
#0F2C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0F2C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C55
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C55#FFFFFF#000000##FFFFFF
##0F2C551.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173057
Deuteranopia (green-blind)
#092954
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2c55;
/* rgb */ color: rgb(15, 44, 85);
/* oklch */ color: oklch(29.6% 0.082 257.7);
Tailwind
colors: {
  custom: {
    50: '#596485',
    500: '#0f2c55',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c55;
$custom-light: #596485;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c55",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 85
  },
  "hsl": {
    "h": 215.143,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29637,
    "c": 0.08211,
    "h": 257.7
  },
  "luminance": 0.02559
}

Semantic roles & 50–950 ramp

primary
#0F2C55
secondary
#8F6831
accent
#A33BED
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2C55

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

Preview Lab → · Contrast checker → · Palette generator →

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