#0F2850#0F2850

#0F2850 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.2% C 0.080 H 259.5°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#0F2850
RGBrgb(15, 40, 80)
HSLhsl(217, 68%, 19%)
HSVhsv(217, 81%, 31%)
CMYKcmyk(81.3%, 50%, 0%, 68.6%)
CIE-LABlab(16.49, 6.69, -27.34)
CIE-LCHlch(16.49, 28.15, 283.75°)
OKLaboklab(28.22% -0.0146 -0.0784)
OKLCHoklch(28.22% 0.08 259.5)
XYZxyz(2.4032, 2.1981, 7.8855)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2850 #50370F
analogous
#0F4850 #0F2850 #160F50
triadic
#0F2850 #500F28 #28500F
tetradic
#0F2850 #500F48 #50370F #0F5016
square
#0F2850 #500F48 #50370F #0F5016
split-complementary
#0F2850 #50160F #48500F
monochromatic
#050D1A #050E1C #0F2850 #194284 #225CB7

Accessibility & contrast

On white

14.59
#0F2850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2850
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2850#FFFFFF#000000##FFFFFF
##0F28501.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132C52
Deuteranopia (green-blind)
#06264F
Tritanopia (blue-blind)
#003138
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2850;
/* rgb */ color: rgb(15, 40, 80);
/* oklch */ color: oklch(28.2% 0.080 259.5);
Tailwind
colors: {
  custom: {
    50: '#586181',
    500: '#0f2850',
    950: '#000000',
  },
}
SCSS
$custom: #0f2850;
$custom-light: #586181;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2850",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 80
  },
  "hsl": {
    "h": 216.923,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28219,
    "c": 0.07971,
    "h": 259.5
  },
  "luminance": 0.02198
}

Semantic roles & 50–950 ramp

primary
#0F2850
secondary
#8A6831
accent
#A83DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F2850

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

Preview Lab → · Contrast checker → · Palette generator →

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