#0F2854#0F2854

#0F2854 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.5% C 0.086 H 260.8°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#0F2854
RGBrgb(15, 40, 84)
HSLhsl(218, 70%, 19%)
HSVhsv(218, 82%, 33%)
CMYKcmyk(82.1%, 52.4%, 0%, 67.1%)
CIE-LABlab(16.79, 8.45, -29.56)
CIE-LCHlch(16.79, 30.75, 285.95°)
OKLaboklab(28.54% -0.0138 -0.0849)
OKLCHoklch(28.54% 0.086 260.8)
XYZxyz(2.5554, 2.2589, 8.6871)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2854 #543B0F
analogous
#0F4B54 #0F2854 #190F54
triadic
#0F2854 #540F28 #28540F
tetradic
#0F2854 #540F4B #543B0F #0F5419
square
#0F2854 #540F4B #543B0F #0F5419
split-complementary
#0F2854 #54190F #4B540F
monochromatic
#050C1A #060F20 #0F2854 #184188 #2259BC

Accessibility & contrast

On white

14.46
#0F2854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2854
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2854#FFFFFF#000000##FFFFFF
##0F28541.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2D56
Deuteranopia (green-blind)
#002653
Tritanopia (blue-blind)
#00323A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2854;
/* rgb */ color: rgb(15, 40, 84);
/* oklch */ color: oklch(28.5% 0.086 260.8);
Tailwind
colors: {
  custom: {
    50: '#596184',
    500: '#0f2854',
    950: '#000000',
  },
}
SCSS
$custom: #0f2854;
$custom-light: #596184;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2854",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 84
  },
  "hsl": {
    "h": 218.261,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28543,
    "c": 0.08602,
    "h": 260.8
  },
  "luminance": 0.02259
}

Semantic roles & 50–950 ramp

primary
#0F2854
secondary
#8E6C31
accent
#AC3BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2854

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

Preview Lab → · Contrast checker → · Palette generator →

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