#0F154C#0F154C

#0F154C is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.100 H 271.2°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#0F154C
RGBrgb(15, 21, 76)
HSLhsl(234, 67%, 18%)
HSVhsv(234, 80%, 30%)
CMYKcmyk(80.3%, 72.4%, 0%, 70.2%)
CIE-LABlab(10.26, 19.34, -34.73)
CIE-LCHlch(10.26, 39.75, 299.12°)
OKLaboklab(23.41% 0.0022 -0.1004)
OKLCHoklch(23.41% 0.1 271.2)
XYZxyz(1.7692, 1.1595, 6.9666)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F154C #4C460F
analogous
#0F334C #0F154C #270F4C
triadic
#0F154C #4C0F15 #154C0F
tetradic
#0F154C #4C0F33 #4C460F #0F4C27
square
#0F154C #4C0F33 #4C460F #0F4C27
split-complementary
#0F154C #4C270F #334C0F
monochromatic
#05071A #05071A #0F154C #19237F #2331B2

Accessibility & contrast

On white

17.05
#0F154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0F154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F154C
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F154C#FFFFFF#000000##FFFFFF
##0F154C1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4E
Deuteranopia (green-blind)
#00194B
Tritanopia (blue-blind)
#00242E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f154c;
/* rgb */ color: rgb(15, 21, 76);
/* oklch */ color: oklch(23.4% 0.100 271.2);
Tailwind
colors: {
  custom: {
    50: '#58527f',
    500: '#0f154c',
    950: '#000000',
  },
}
SCSS
$custom: #0f154c;
$custom-light: #58527f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f154c",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 234.098,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23414,
    "c": 0.1004,
    "h": 271.2
  },
  "luminance": 0.0116
}

Semantic roles & 50–950 ramp

primary
#0F154C
secondary
#867E31
accent
#D93EEA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F154C

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

Preview Lab → · Contrast checker → · Palette generator →

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