#0F2C5E#0F2C5E

#0F2C5E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.096 H 260.5°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#0F2C5E
RGBrgb(15, 44, 94)
HSLhsl(218, 72%, 21%)
HSVhsv(218, 84%, 37%)
CMYKcmyk(84%, 53.2%, 0%, 63.1%)
CIE-LABlab(18.85, 9.85, -32.92)
CIE-LCHlch(18.85, 34.36, 286.66°)
OKLaboklab(30.36% -0.0158 -0.0947)
OKLCHoklch(30.36% 0.096 260.5)
XYZxyz(3.1173, 2.7107, 10.9464)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C5E #5E410F
analogous
#0F545E #0F2C5E #1A0F5E
triadic
#0F2C5E #5E0F2C #2C5E0F
tetradic
#0F2C5E #5E0F54 #5E410F #0F5E1A
square
#0F2C5E #5E0F54 #5E410F #0F5E1A
split-complementary
#0F2C5E #5E1A0F #545E0F
monochromatic
#040C1A #071329 #0F2C5E #174593 #205DC8

Accessibility & contrast

On white

13.62
#0F2C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0F2C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C5E
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C5E#FFFFFF#000000##FFFFFF
##0F2C5E1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3260
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2c5e;
/* rgb */ color: rgb(15, 44, 94);
/* oklch */ color: oklch(30.4% 0.096 260.5);
Tailwind
colors: {
  custom: {
    50: '#5c648c',
    500: '#0f2c5e',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c5e;
$custom-light: #5c648c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c5e",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 94
  },
  "hsl": {
    "h": 217.975,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30362,
    "c": 0.096,
    "h": 260.5
  },
  "luminance": 0.02711
}

Semantic roles & 50–950 ramp

primary
#0F2C5E
secondary
#977231
accent
#AC39EF
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F2C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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