#0F2658#0F2658

#0F2658 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.095 H 263.1°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#0F2658
RGBrgb(15, 38, 88)
HSLhsl(221, 71%, 20%)
HSVhsv(221, 83%, 35%)
CMYKcmyk(83%, 56.8%, 0%, 65.5%)
CIE-LABlab(16.46, 11.70, -32.78)
CIE-LCHlch(16.46, 34.80, 289.64°)
OKLaboklab(28.39% -0.0114 -0.0944)
OKLCHoklch(28.39% 0.095 263.1)
XYZxyz(2.6509, 2.1921, 9.5140)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2658 #58410F
analogous
#0F4A58 #0F2658 #1C0F58
triadic
#0F2658 #580F26 #26580F
tetradic
#0F2658 #580F4A #58410F #0F581C
square
#0F2658 #580F4A #58410F #0F581C
split-complementary
#0F2658 #581C0F #4A580F
monochromatic
#040B1A #060F24 #0F2658 #183D8C #2153C1

Accessibility & contrast

On white

14.60
#0F2658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0F2658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2658
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2658#FFFFFF#000000##FFFFFF
##0F26581.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042C5A
Deuteranopia (green-blind)
#002657
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2658;
/* rgb */ color: rgb(15, 38, 88);
/* oklch */ color: oklch(28.4% 0.095 263.1);
Tailwind
colors: {
  custom: {
    50: '#5a5f88',
    500: '#0f2658',
    950: '#000000',
  },
}
SCSS
$custom: #0f2658;
$custom-light: #5a5f88;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2658",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 88
  },
  "hsl": {
    "h": 221.096,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28394,
    "c": 0.09508,
    "h": 263.1
  },
  "luminance": 0.02192
}

Semantic roles & 50–950 ramp

primary
#0F2658
secondary
#927331
accent
#B53AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2658

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

Preview Lab → · Contrast checker → · Palette generator →

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