#0F295C#0F295C

#0F295C is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.097 H 262.0°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#0F295C
RGBrgb(15, 41, 92)
HSLhsl(220, 72%, 21%)
HSVhsv(220, 84%, 36%)
CMYKcmyk(83.7%, 55.4%, 0%, 63.9%)
CIE-LABlab(17.74, 11.20, -33.39)
CIE-LCHlch(17.74, 35.22, 288.55°)
OKLaboklab(29.46% -0.0135 -0.0961)
OKLCHoklch(29.46% 0.097 262)
XYZxyz(2.9210, 2.4598, 10.4440)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F295C #5C420F
analogous
#0F4F5C #0F295C #1B0F5C
triadic
#0F295C #5C0F29 #295C0F
tetradic
#0F295C #5C0F4F #5C420F #0F5C1B
square
#0F295C #5C0F4F #5C420F #0F5C1B
split-complementary
#0F295C #5C1B0F #4F5C0F
monochromatic
#040C1A #061227 #0F295C #184091 #2058C5

Accessibility & contrast

On white

14.08
#0F295C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F295C
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F295C#FFFFFF#000000##FFFFFF
##0F295C1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072F5E
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f295c;
/* rgb */ color: rgb(15, 41, 92);
/* oklch */ color: oklch(29.5% 0.097 262.0);
Tailwind
colors: {
  custom: {
    50: '#5b628b',
    500: '#0f295c',
    950: '#000000',
  },
}
SCSS
$custom: #0f295c;
$custom-light: #5b628b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f295c",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 92
  },
  "hsl": {
    "h": 219.74,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29464,
    "c": 0.09707,
    "h": 262
  },
  "luminance": 0.0246
}

Semantic roles & 50–950 ramp

primary
#0F295C
secondary
#957431
accent
#B139EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0F295C

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

Preview Lab → · Contrast checker → · Palette generator →

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