#0F284D#0F284D

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

Color values

HEX#0F284D
RGBrgb(15, 40, 77)
HSLhsl(216, 67%, 18%)
HSVhsv(216, 81%, 30%)
CMYKcmyk(80.5%, 48.1%, 0%, 69.8%)
CIE-LABlab(16.28, 5.38, -25.65)
CIE-LCHlch(16.28, 26.21, 281.85°)
OKLaboklab(27.98% -0.0152 -0.0734)
OKLCHoklch(27.98% 0.075 258.3)
XYZxyz(2.2949, 2.1547, 7.3147)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F284D #4D340F
analogous
#0F474D #0F284D #150F4D
triadic
#0F284D #4D0F28 #284D0F
tetradic
#0F284D #4D0F47 #4D340F #0F4D15
square
#0F284D #4D0F47 #4D340F #0F4D15
split-complementary
#0F284D #4D150F #474D0F
monochromatic
#050D1A #050D1A #0F284D #194380 #235DB3

Accessibility & contrast

On white

14.68
#0F284D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0F284D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F284D
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F284D#FFFFFF#000000##FFFFFF
##0F284D1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4E
Deuteranopia (green-blind)
#0A264C
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f284d;
/* rgb */ color: rgb(15, 40, 77);
/* oklch */ color: oklch(28.0% 0.075 258.3);
Tailwind
colors: {
  custom: {
    50: '#57617f',
    500: '#0f284d',
    950: '#000000',
  },
}
SCSS
$custom: #0f284d;
$custom-light: #57617f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f284d",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 77
  },
  "hsl": {
    "h": 215.806,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27984,
    "c": 0.07495,
    "h": 258.3
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

primary
#0F284D
secondary
#876431
accent
#A53EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F284D

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

Preview Lab → · Contrast checker → · Palette generator →

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