#0F2C60#0F2C60

#0F2C60 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.099 H 261.0°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#0F2C60
RGBrgb(15, 44, 96)
HSLhsl(219, 73%, 22%)
HSVhsv(219, 84%, 38%)
CMYKcmyk(84.4%, 54.2%, 0%, 62.4%)
CIE-LABlab(19.00, 10.72, -33.99)
CIE-LCHlch(19.00, 35.64, 287.51°)
OKLaboklab(30.53% -0.0155 -0.0978)
OKLCHoklch(30.53% 0.099 261)
XYZxyz(3.2082, 2.7471, 11.4252)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C60 #60430F
analogous
#0F5560 #0F2C60 #1B0F60
triadic
#0F2C60 #600F2C #2C600F
tetradic
#0F2C60 #600F55 #60430F #0F601B
square
#0F2C60 #600F55 #60430F #0F601B
split-complementary
#0F2C60 #601B0F #55600F
monochromatic
#040C1A #07142B #0F2C60 #174495 #205DCA

Accessibility & contrast

On white

13.55
#0F2C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#0F2C60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C60
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C60#FFFFFF#000000##FFFFFF
##0F2C601.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3262
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2c60;
/* rgb */ color: rgb(15, 44, 96);
/* oklch */ color: oklch(30.5% 0.099 261.0);
Tailwind
colors: {
  custom: {
    50: '#5c648e',
    500: '#0f2c60',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c60;
$custom-light: #5c648e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c60",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 96
  },
  "hsl": {
    "h": 218.519,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3053,
    "c": 0.09905,
    "h": 261
  },
  "luminance": 0.02747
}

Semantic roles & 50–950 ramp

primary
#0F2C60
secondary
#997432
accent
#AE38F0
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F2C60

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

Preview Lab → · Contrast checker → · Palette generator →

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