#0F294F#0F294F

#0F294F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.4% C 0.077 H 258.1°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#0F294F
RGBrgb(15, 41, 79)
HSLhsl(216, 68%, 18%)
HSVhsv(216, 81%, 31%)
CMYKcmyk(81%, 48.1%, 0%, 69%)
CIE-LABlab(16.76, 5.51, -26.24)
CIE-LCHlch(16.76, 26.82, 281.86°)
OKLaboklab(28.4% -0.0158 -0.0751)
OKLCHoklch(28.4% 0.077 258.1)
XYZxyz(2.4007, 2.2517, 7.7037)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F294F #4F350F
analogous
#0F494F #0F294F #150F4F
triadic
#0F294F #4F0F29 #294F0F
tetradic
#0F294F #4F0F49 #4F350F #0F4F15
square
#0F294F #4F0F49 #4F350F #0F4F15
split-complementary
#0F294F #4F150F #494F0F
monochromatic
#050D1A #050E1C #0F294F #194482 #235EB6

Accessibility & contrast

On white

14.48
#0F294F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0F294F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F294F
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F294F#FFFFFF#000000##FFFFFF
##0F294F1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162D50
Deuteranopia (green-blind)
#0A274E
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f294f;
/* rgb */ color: rgb(15, 41, 79);
/* oklch */ color: oklch(28.4% 0.077 258.1);
Tailwind
colors: {
  custom: {
    50: '#586280',
    500: '#0f294f',
    950: '#000000',
  },
}
SCSS
$custom: #0f294f;
$custom-light: #586280;
$custom-dark: #000000;
JSON
{
  "hex": "#0f294f",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 79
  },
  "hsl": {
    "h": 215.625,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28399,
    "c": 0.07677,
    "h": 258.1
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#0F294F
secondary
#896531
accent
#A43DEB
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F294F

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

Preview Lab → · Contrast checker → · Palette generator →

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