#0F1E55#0F1E55

#0F1E55 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.102 H 267.2°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#0F1E55
RGBrgb(15, 30, 85)
HSLhsl(227, 70%, 20%)
HSVhsv(227, 82%, 33%)
CMYKcmyk(82.4%, 64.7%, 0%, 66.7%)
CIE-LABlab(13.74, 16.43, -35.18)
CIE-LCHlch(13.74, 38.83, 295.03°)
OKLaboklab(26.26% -0.005 -0.1016)
OKLCHoklch(26.26% 0.102 267.2)
XYZxyz(2.3004, 1.6857, 8.7967)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E55 #55460F
analogous
#0F4155 #0F1E55 #230F55
triadic
#0F1E55 #550F1E #1E550F
tetradic
#0F1E55 #550F41 #55460F #0F5523
square
#0F1E55 #550F41 #55460F #0F5523
split-complementary
#0F1E55 #55230F #41550F
monochromatic
#05091A #060C21 #0F1E55 #183089 #2143BD

Accessibility & contrast

On white

15.70
#0F1E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0F1E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1E55
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E55#FFFFFF#000000##FFFFFF
##0F1E551.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002657
Deuteranopia (green-blind)
#002054
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f1e55;
/* rgb */ color: rgb(15, 30, 85);
/* oklch */ color: oklch(26.3% 0.102 267.2);
Tailwind
colors: {
  custom: {
    50: '#5a5985',
    500: '#0f1e55',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e55;
$custom-light: #5a5985;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e55",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 85
  },
  "hsl": {
    "h": 227.143,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26263,
    "c": 0.10173,
    "h": 267.2
  },
  "luminance": 0.01686
}

Semantic roles & 50–950 ramp

primary
#0F1E55
secondary
#8F7B31
accent
#C73BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1E55

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

Preview Lab → · Contrast checker → · Palette generator →

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