#0F284F#0F284F

#0F284F is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.1% C 0.078 H 259.1°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#0F284F
RGBrgb(15, 40, 79)
HSLhsl(217, 68%, 18%)
HSVhsv(217, 81%, 31%)
CMYKcmyk(81%, 49.4%, 0%, 69%)
CIE-LABlab(16.42, 6.26, -26.78)
CIE-LCHlch(16.42, 27.50, 283.15°)
OKLaboklab(28.14% -0.0148 -0.0767)
OKLCHoklch(28.14% 0.078 259.1)
XYZxyz(2.3666, 2.1834, 7.6923)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F284F #4F360F
analogous
#0F484F #0F284F #160F4F
triadic
#0F284F #4F0F28 #284F0F
tetradic
#0F284F #4F0F48 #4F360F #0F4F16
square
#0F284F #4F0F48 #4F360F #0F4F16
split-complementary
#0F284F #4F160F #484F0F
monochromatic
#050D1A #050E1C #0F284F #194282 #235CB6

Accessibility & contrast

On white

14.62
#0F284F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0F284F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F284F
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F284F#FFFFFF#000000##FFFFFF
##0F284F1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142C50
Deuteranopia (green-blind)
#07264E
Tritanopia (blue-blind)
#003137
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f284f;
/* rgb */ color: rgb(15, 40, 79);
/* oklch */ color: oklch(28.1% 0.078 259.1);
Tailwind
colors: {
  custom: {
    50: '#586180',
    500: '#0f284f',
    950: '#000000',
  },
}
SCSS
$custom: #0f284f;
$custom-light: #586180;
$custom-dark: #000000;
JSON
{
  "hex": "#0f284f",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 79
  },
  "hsl": {
    "h": 216.563,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2814,
    "c": 0.07813,
    "h": 259.1
  },
  "luminance": 0.02184
}

Semantic roles & 50–950 ramp

primary
#0F284F
secondary
#896731
accent
#A73DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F284F

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

Preview Lab → · Contrast checker → · Palette generator →

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