#0F1A58#0F1A58

#0F1A58 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.7% C 0.112 H 268.9°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#0F1A58
RGBrgb(15, 26, 88)
HSLhsl(231, 71%, 20%)
HSVhsv(231, 83%, 35%)
CMYKcmyk(83%, 70.5%, 0%, 65.5%)
CIE-LABlab(12.89, 20.67, -38.60)
CIE-LCHlch(12.89, 43.79, 298.16°)
OKLaboklab(25.72% -0.0022 -0.1117)
OKLCHoklch(25.72% 0.112 268.9)
XYZxyz(2.3272, 1.5447, 9.4061)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A58 #584D0F
analogous
#0F3E58 #0F1A58 #280F58
triadic
#0F1A58 #580F1A #1A580F
tetradic
#0F1A58 #580F3E #584D0F #0F5828
square
#0F1A58 #580F3E #584D0F #0F5828
split-complementary
#0F1A58 #58280F #3E580F
monochromatic
#04081A #060B24 #0F1A58 #18298C #2139C1

Accessibility & contrast

On white

16.04
#0F1A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0F1A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1A58
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A58#FFFFFF#000000##FFFFFF
##0F1A581.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#001E57
Tritanopia (blue-blind)
#002A36
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f1a58;
/* rgb */ color: rgb(15, 26, 88);
/* oklch */ color: oklch(25.7% 0.112 268.9);
Tailwind
colors: {
  custom: {
    50: '#5b5688',
    500: '#0f1a58',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a58;
$custom-light: #5b5688;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a58",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 230.959,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25723,
    "c": 0.11172,
    "h": 268.9
  },
  "luminance": 0.01545
}

Semantic roles & 50–950 ramp

primary
#0F1A58
secondary
#928331
accent
#D33AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #0F1A58

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

Preview Lab → · Contrast checker → · Palette generator →

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