#0F284E#0F284E

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

Color values

HEX#0F284E
RGBrgb(15, 40, 78)
HSLhsl(216, 68%, 18%)
HSVhsv(216, 81%, 31%)
CMYKcmyk(80.8%, 48.7%, 0%, 69.4%)
CIE-LABlab(16.35, 5.82, -26.22)
CIE-LCHlch(16.35, 26.85, 282.51°)
OKLaboklab(28.06% -0.015 -0.0751)
OKLCHoklch(28.06% 0.077 258.7)
XYZxyz(2.3304, 2.1689, 7.5021)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F284E #4E350F
analogous
#0F474E #0F284E #150F4E
triadic
#0F284E #4E0F28 #284E0F
tetradic
#0F284E #4E0F47 #4E350F #0F4E15
square
#0F284E #4E0F47 #4E350F #0F4E15
split-complementary
#0F284E #4E150F #474E0F
monochromatic
#050D1A #050E1B #0F284E #194281 #235DB5

Accessibility & contrast

On white

14.65
#0F284E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F284E
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F284E#FFFFFF#000000##FFFFFF
##0F284E1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152C4F
Deuteranopia (green-blind)
#09264D
Tritanopia (blue-blind)
#003137
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f284e;
/* rgb */ color: rgb(15, 40, 78);
/* oklch */ color: oklch(28.1% 0.077 258.7);
Tailwind
colors: {
  custom: {
    50: '#576180',
    500: '#0f284e',
    950: '#000000',
  },
}
SCSS
$custom: #0f284e;
$custom-light: #576180;
$custom-dark: #000000;
JSON
{
  "hex": "#0f284e",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 78
  },
  "hsl": {
    "h": 216.19,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28062,
    "c": 0.07654,
    "h": 258.7
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#0F284E
secondary
#886531
accent
#A63DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F284E

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

Preview Lab → · Contrast checker → · Palette generator →

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