#0F1348#0F1348

#0F1348 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.6% C 0.097 H 272.4°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#0F1348
RGBrgb(15, 19, 72)
HSLhsl(236, 66%, 17%)
HSVhsv(236, 79%, 28%)
CMYKcmyk(79.2%, 73.6%, 0%, 71.8%)
CIE-LABlab(9.28, 19.16, -33.54)
CIE-LCHlch(9.28, 38.63, 299.73°)
OKLaboklab(22.57% 0.0041 -0.0969)
OKLCHoklch(22.57% 0.097 272.4)
XYZxyz(1.5992, 1.0350, 6.2451)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1348 #48440F
analogous
#0F3048 #0F1348 #270F48
triadic
#0F1348 #480F13 #13480F
tetradic
#0F1348 #480F30 #48440F #0F4827
square
#0F1348 #480F30 #48440F #0F4827
split-complementary
#0F1348 #48270F #30480F
monochromatic
#050719 #050719 #0F1348 #1A207B #242EAD

Accessibility & contrast

On white

17.40
#0F1348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1348
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1348#FFFFFF#000000##FFFFFF
##0F13481.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#001747
Tritanopia (blue-blind)
#00212B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0f1348;
/* rgb */ color: rgb(15, 19, 72);
/* oklch */ color: oklch(22.6% 0.097 272.4);
Tailwind
colors: {
  custom: {
    50: '#57507c',
    500: '#0f1348',
    950: '#000000',
  },
}
SCSS
$custom: #0f1348;
$custom-light: #57507c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1348",
  "rgb": {
    "r": 15,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 235.789,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22573,
    "c": 0.09703,
    "h": 272.4
  },
  "luminance": 0.01035
}

Semantic roles & 50–950 ramp

primary
#0F1348
secondary
#827D30
accent
#DD3FE8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #0F1348

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

Preview Lab → · Contrast checker → · Palette generator →

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