#0F113F#0F113F

#0F113F is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.086 H 274.4°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#0F113F
RGBrgb(15, 17, 63)
HSLhsl(238, 62%, 15%)
HSVhsv(238, 76%, 25%)
CMYKcmyk(76.2%, 73%, 0%, 75.3%)
CIE-LABlab(7.78, 16.91, -29.65)
CIE-LCHlch(7.78, 34.13, 299.69°)
OKLaboklab(21.19% 0.0066 -0.0856)
OKLCHoklch(21.19% 0.086 274.4)
XYZxyz(1.2944, 0.8612, 4.7997)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F113F #3F3D0F
analogous
#0F293F #0F113F #250F3F
triadic
#0F113F #3F0F11 #113F0F
tetradic
#0F113F #3F0F29 #3F3D0F #0F3F25
square
#0F113F #3F0F29 #3F3D0F #0F3F25
split-complementary
#0F113F #3F250F #293F0F
monochromatic
#060719 #060719 #0F113F #1B1E70 #272CA2

Accessibility & contrast

On white

17.92
#0F113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0F113F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F113F
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F113F#FFFFFF#000000##FFFFFF
##0F113F1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f113f;
/* rgb */ color: rgb(15, 17, 63);
/* oklch */ color: oklch(21.2% 0.086 274.4);
Tailwind
colors: {
  custom: {
    50: '#554e75',
    500: '#0f113f',
    950: '#000000',
  },
}
SCSS
$custom: #0f113f;
$custom-light: #554e75;
$custom-dark: #000000;
JSON
{
  "hex": "#0f113f",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 237.5,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21187,
    "c": 0.08582,
    "h": 274.4
  },
  "luminance": 0.00861
}

Semantic roles & 50–950 ramp

primary
#0F113F
secondary
#797630
accent
#DE43E5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F113F

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

Preview Lab → · Contrast checker → · Palette generator →

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