#0F1941#0F1941

#0F1941 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.2% C 0.077 H 269.0°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#0F1941
RGBrgb(15, 25, 65)
HSLhsl(228, 63%, 16%)
HSVhsv(228, 77%, 25%)
CMYKcmyk(76.9%, 61.5%, 0%, 74.5%)
CIE-LABlab(10.40, 11.59, -26.81)
CIE-LCHlch(10.40, 29.21, 293.39°)
OKLaboklab(23.19% -0.0013 -0.0771)
OKLCHoklch(23.19% 0.077 269)
XYZxyz(1.4984, 1.1783, 5.1485)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1941 #41370F
analogous
#0F3241 #0F1941 #1E0F41
triadic
#0F1941 #410F19 #19410F
tetradic
#0F1941 #410F32 #41370F #0F411E
square
#0F1941 #410F32 #41370F #0F411E
split-complementary
#0F1941 #411E0F #32410F
monochromatic
#060A19 #060A19 #0F1941 #1A2C73 #263FA4

Accessibility & contrast

On white

17.00
#0F1941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0F1941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1941
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1941#FFFFFF#000000##FFFFFF
##0F19411.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F42
Deuteranopia (green-blind)
#001A40
Tritanopia (blue-blind)
#00232A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f1941;
/* rgb */ color: rgb(15, 25, 65);
/* oklch */ color: oklch(23.2% 0.077 269.0);
Tailwind
colors: {
  custom: {
    50: '#555576',
    500: '#0f1941',
    950: '#000000',
  },
}
SCSS
$custom: #0f1941;
$custom-light: #555576;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1941",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 65
  },
  "hsl": {
    "h": 228,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2319,
    "c": 0.07711,
    "h": 269
  },
  "luminance": 0.01178
}

Semantic roles & 50–950 ramp

primary
#0F1941
secondary
#7B6C30
accent
#C542E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030308
muted
#78787B

Preview Lab

Preview with #0F1941

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

Preview Lab → · Contrast checker → · Palette generator →

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