#0F295B#0F295B

#0F295B is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.096 H 261.8°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#0F295B
RGBrgb(15, 41, 91)
HSLhsl(219, 72%, 21%)
HSVhsv(219, 84%, 36%)
CMYKcmyk(83.5%, 54.9%, 0%, 64.3%)
CIE-LABlab(17.66, 10.77, -32.85)
CIE-LCHlch(17.66, 34.57, 288.15°)
OKLaboklab(29.38% -0.0136 -0.0946)
OKLCHoklch(29.38% 0.096 261.8)
XYZxyz(2.8776, 2.4424, 10.2153)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F295B #5B410F
analogous
#0F4F5B #0F295B #1B0F5B
triadic
#0F295B #5B0F29 #295B0F
tetradic
#0F295B #5B0F4F #5B410F #0F5B1B
square
#0F295B #5B0F4F #5B410F #0F5B1B
split-complementary
#0F295B #5B1B0F #4F5B0F
monochromatic
#040C1A #061126 #0F295B #184190 #2058C4

Accessibility & contrast

On white

14.11
#0F295B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0F295B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F295B
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F295B#FFFFFF#000000##FFFFFF
##0F295B1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092F5D
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#00353D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f295b;
/* rgb */ color: rgb(15, 41, 91);
/* oklch */ color: oklch(29.4% 0.096 261.8);
Tailwind
colors: {
  custom: {
    50: '#5b628a',
    500: '#0f295b',
    950: '#000000',
  },
}
SCSS
$custom: #0f295b;
$custom-light: #5b628a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f295b",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 91
  },
  "hsl": {
    "h": 219.474,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29378,
    "c": 0.09554,
    "h": 261.8
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#0F295B
secondary
#957331
accent
#B039EE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0F295B

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

Preview Lab → · Contrast checker → · Palette generator →

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