#0F1150#0F1150

#0F1150 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.111 H 272.2°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#0F1150
RGBrgb(15, 17, 80)
HSLhsl(238, 68%, 19%)
HSVhsv(238, 81%, 31%)
CMYKcmyk(81.3%, 78.8%, 0%, 68.6%)
CIE-LABlab(9.65, 23.80, -38.48)
CIE-LCHlch(9.65, 45.24, 301.74°)
OKLaboklab(23.11% 0.0043 -0.1113)
OKLCHoklch(23.11% 0.111 272.2)
XYZxyz(1.8449, 1.0815, 7.6994)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1150 #504E0F
analogous
#0F3150 #0F1150 #2D0F50
triadic
#0F1150 #500F11 #11500F
tetradic
#0F1150 #500F31 #504E0F #0F502D
square
#0F1150 #500F31 #504E0F #0F502D
split-complementary
#0F1150 #502D0F #31500F
monochromatic
#05051A #05061C #0F1150 #191C84 #2227B7

Accessibility & contrast

On white

17.26
#0F1150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0F1150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1150
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1150#FFFFFF#000000##FFFFFF
##0F11501.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E52
Deuteranopia (green-blind)
#00184F
Tritanopia (blue-blind)
#00232F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f1150;
/* rgb */ color: rgb(15, 17, 80);
/* oklch */ color: oklch(23.1% 0.111 272.2);
Tailwind
colors: {
  custom: {
    50: '#5a4f82',
    500: '#0f1150',
    950: '#000000',
  },
}
SCSS
$custom: #0f1150;
$custom-light: #5a4f82;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1150",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 238.154,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23112,
    "c": 0.11142,
    "h": 272.2
  },
  "luminance": 0.01082
}

Semantic roles & 50–950 ramp

primary
#0F1150
secondary
#8A8731
accent
#E63DEB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F1150

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

Preview Lab → · Contrast checker → · Palette generator →

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