#0F114F#0F114F

#0F114F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.110 H 272.3°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#0F114F
RGBrgb(15, 17, 79)
HSLhsl(238, 68%, 18%)
HSVhsv(238, 81%, 31%)
CMYKcmyk(81%, 78.5%, 0%, 69%)
CIE-LABlab(9.54, 23.41, -37.98)
CIE-LCHlch(9.54, 44.61, 301.65°)
OKLaboklab(22.99% 0.0045 -0.1099)
OKLCHoklch(22.99% 0.11 272.3)
XYZxyz(1.8083, 1.0668, 7.5062)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F114F #4F4D0F
analogous
#0F314F #0F114F #2D0F4F
triadic
#0F114F #4F0F11 #114F0F
tetradic
#0F114F #4F0F31 #4F4D0F #0F4F2D
square
#0F114F #4F0F31 #4F4D0F #0F4F2D
split-complementary
#0F114F #4F2D0F #314F0F
monochromatic
#05061A #05061C #0F114F #191C82 #2327B6

Accessibility & contrast

On white

17.31
#0F114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0F114F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F114F
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F114F#FFFFFF#000000##FFFFFF
##0F114F1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E51
Deuteranopia (green-blind)
#00174E
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f114f;
/* rgb */ color: rgb(15, 17, 79);
/* oklch */ color: oklch(23.0% 0.110 272.3);
Tailwind
colors: {
  custom: {
    50: '#5a4f81',
    500: '#0f114f',
    950: '#000000',
  },
}
SCSS
$custom: #0f114f;
$custom-light: #5a4f81;
$custom-dark: #000000;
JSON
{
  "hex": "#0f114f",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 238.125,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.22994,
    "c": 0.10999,
    "h": 272.3
  },
  "luminance": 0.01067
}

Semantic roles & 50–950 ramp

primary
#0F114F
secondary
#898631
accent
#E63DEB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F114F

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

Preview Lab → · Contrast checker → · Palette generator →

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