#0F1E52#0F1E52

#0F1E52 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.097 H 267.0°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#0F1E52
RGBrgb(15, 30, 82)
HSLhsl(227, 69%, 19%)
HSVhsv(227, 82%, 32%)
CMYKcmyk(81.7%, 63.4%, 0%, 67.8%)
CIE-LABlab(13.47, 15.13, -33.59)
CIE-LCHlch(13.47, 36.84, 294.25°)
OKLaboklab(25.97% -0.0051 -0.097)
OKLCHoklch(25.97% 0.097 267)
XYZxyz(2.1837, 1.6391, 8.1823)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E52 #52430F
analogous
#0F4052 #0F1E52 #220F52
triadic
#0F1E52 #520F1E #1E520F
tetradic
#0F1E52 #520F40 #52430F #0F5222
square
#0F1E52 #520F40 #52430F #0F5222
split-complementary
#0F1E52 #52220F #40520F
monochromatic
#05091A #060B1E #0F1E52 #183186 #2244B9

Accessibility & contrast

On white

15.82
#0F1E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0F1E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1E52
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E52#FFFFFF#000000##FFFFFF
##0F1E521.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#001F51
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f1e52;
/* rgb */ color: rgb(15, 30, 82);
/* oklch */ color: oklch(26.0% 0.097 267.0);
Tailwind
colors: {
  custom: {
    50: '#595983',
    500: '#0f1e52',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e52;
$custom-light: #595983;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e52",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 226.567,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2597,
    "c": 0.09709,
    "h": 267
  },
  "luminance": 0.01639
}

Semantic roles & 50–950 ramp

primary
#0F1E52
secondary
#8C7831
accent
#C43CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1E52

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

Preview Lab → · Contrast checker → · Palette generator →

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