#0F295D#0F295D

#0F295D is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.099 H 262.2°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#0F295D
RGBrgb(15, 41, 93)
HSLhsl(220, 72%, 21%)
HSVhsv(220, 84%, 36%)
CMYKcmyk(83.9%, 55.9%, 0%, 63.5%)
CIE-LABlab(17.82, 11.64, -33.92)
CIE-LCHlch(17.82, 35.86, 288.94°)
OKLaboklab(29.55% -0.0134 -0.0977)
OKLCHoklch(29.55% 0.099 262.2)
XYZxyz(2.9650, 2.4774, 10.6757)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F295D #5D430F
analogous
#0F505D #0F295D #1C0F5D
triadic
#0F295D #5D0F29 #295D0F
tetradic
#0F295D #5D0F50 #5D430F #0F5D1C
square
#0F295D #5D0F50 #5D430F #0F5D1C
split-complementary
#0F295D #5D1C0F #505D0F
monochromatic
#040C1A #061228 #0F295D #174092 #2057C6

Accessibility & contrast

On white

14.04
#0F295D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0F295D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F295D
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F295D#FFFFFF#000000##FFFFFF
##0F295D1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052F5F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f295d;
/* rgb */ color: rgb(15, 41, 93);
/* oklch */ color: oklch(29.6% 0.099 262.2);
Tailwind
colors: {
  custom: {
    50: '#5c628b',
    500: '#0f295d',
    950: '#000000',
  },
}
SCSS
$custom: #0f295d;
$custom-light: #5c628b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f295d",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 93
  },
  "hsl": {
    "h": 220,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29551,
    "c": 0.09861,
    "h": 262.2
  },
  "luminance": 0.02478
}

Semantic roles & 50–950 ramp

primary
#0F295D
secondary
#967531
accent
#B239EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F295D

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

Preview Lab → · Contrast checker → · Palette generator →

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