#0F294E#0F294E

#0F294E is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.075 H 257.7°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#0F294E
RGBrgb(15, 41, 78)
HSLhsl(215, 68%, 18%)
HSVhsv(215, 81%, 31%)
CMYKcmyk(80.8%, 47.4%, 0%, 69.4%)
CIE-LABlab(16.69, 5.08, -25.68)
CIE-LCHlch(16.69, 26.18, 281.18°)
OKLaboklab(28.32% -0.016 -0.0735)
OKLCHoklch(28.32% 0.075 257.7)
XYZxyz(2.3646, 2.2372, 7.5135)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F294E #4E340F
analogous
#0F484E #0F294E #140F4E
triadic
#0F294E #4E0F29 #294E0F
tetradic
#0F294E #4E0F48 #4E340F #0F4E14
square
#0F294E #4E0F48 #4E340F #0F4E14
split-complementary
#0F294E #4E140F #484E0F
monochromatic
#050D1A #050E1B #0F294E #194481 #235FB5

Accessibility & contrast

On white

14.51
#0F294E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F294E
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F294E#FFFFFF#000000##FFFFFF
##0F294E1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172C4F
Deuteranopia (green-blind)
#0B274D
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f294e;
/* rgb */ color: rgb(15, 41, 78);
/* oklch */ color: oklch(28.3% 0.075 257.7);
Tailwind
colors: {
  custom: {
    50: '#576280',
    500: '#0f294e',
    950: '#000000',
  },
}
SCSS
$custom: #0f294e;
$custom-light: #576280;
$custom-dark: #000000;
JSON
{
  "hex": "#0f294e",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 78
  },
  "hsl": {
    "h": 215.238,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28322,
    "c": 0.07519,
    "h": 257.7
  },
  "luminance": 0.02237
}

Semantic roles & 50–950 ramp

primary
#0F294E
secondary
#886431
accent
#A33DEB
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F294E

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

Preview Lab → · Contrast checker → · Palette generator →

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