#0F295A#0F295A

#0F295A is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.094 H 261.6°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#0F295A
RGBrgb(15, 41, 90)
HSLhsl(219, 71%, 21%)
HSVhsv(219, 83%, 35%)
CMYKcmyk(83.3%, 54.4%, 0%, 64.7%)
CIE-LABlab(17.58, 10.33, -32.31)
CIE-LCHlch(17.58, 33.92, 287.72°)
OKLaboklab(29.29% -0.0138 -0.093)
OKLCHoklch(29.29% 0.094 261.6)
XYZxyz(2.8347, 2.4253, 9.9896)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F295A #5A400F
analogous
#0F4E5A #0F295A #1A0F5A
triadic
#0F295A #5A0F29 #295A0F
tetradic
#0F295A #5A0F4E #5A400F #0F5A1A
square
#0F295A #5A0F4E #5A400F #0F5A1A
split-complementary
#0F295A #5A1A0F #4E5A0F
monochromatic
#040C1A #061126 #0F295A #18418E #2059C3

Accessibility & contrast

On white

14.14
#0F295A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F295A
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F295A#FFFFFF#000000##FFFFFF
##0F295A1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2F5C
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#00353D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f295a;
/* rgb */ color: rgb(15, 41, 90);
/* oklch */ color: oklch(29.3% 0.094 261.6);
Tailwind
colors: {
  custom: {
    50: '#5b6289',
    500: '#0f295a',
    950: '#000000',
  },
}
SCSS
$custom: #0f295a;
$custom-light: #5b6289;
$custom-dark: #000000;
JSON
{
  "hex": "#0f295a",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 90
  },
  "hsl": {
    "h": 219.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29293,
    "c": 0.09398,
    "h": 261.6
  },
  "luminance": 0.02426
}

Semantic roles & 50–950 ramp

primary
#0F295A
secondary
#947131
accent
#B03AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F295A

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

Preview Lab → · Contrast checker → · Palette generator →

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