#0F1E53#0F1E53

#0F1E53 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.099 H 267.1°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#0F1E53
RGBrgb(15, 30, 83)
HSLhsl(227, 69%, 19%)
HSVhsv(227, 82%, 33%)
CMYKcmyk(81.9%, 63.9%, 0%, 67.5%)
CIE-LABlab(13.56, 15.57, -34.13)
CIE-LCHlch(13.56, 37.51, 294.52°)
OKLaboklab(26.07% -0.005 -0.0985)
OKLCHoklch(26.07% 0.099 267.1)
XYZxyz(2.2221, 1.6544, 8.3842)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E53 #53440F
analogous
#0F4053 #0F1E53 #220F53
triadic
#0F1E53 #530F1E #1E530F
tetradic
#0F1E53 #530F40 #53440F #0F5322
square
#0F1E53 #530F40 #53440F #0F5322
split-complementary
#0F1E53 #53220F #40530F
monochromatic
#05091A #060B1F #0F1E53 #183187 #2243BB

Accessibility & contrast

On white

15.78
#0F1E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1E53
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E53#FFFFFF#000000##FFFFFF
##0F1E531.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#002052
Tritanopia (blue-blind)
#002B35
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f1e53;
/* rgb */ color: rgb(15, 30, 83);
/* oklch */ color: oklch(26.1% 0.099 267.1);
Tailwind
colors: {
  custom: {
    50: '#5a5984',
    500: '#0f1e53',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e53;
$custom-light: #5a5984;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e53",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 83
  },
  "hsl": {
    "h": 226.765,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26067,
    "c": 0.09865,
    "h": 267.1
  },
  "luminance": 0.01655
}

Semantic roles & 50–950 ramp

primary
#0F1E53
secondary
#8D7931
accent
#C53CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1E53

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

Preview Lab → · Contrast checker → · Palette generator →

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