#0F2950#0F2950

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

Color values

HEX#0F2950
RGBrgb(15, 41, 80)
HSLhsl(216, 68%, 19%)
HSVhsv(216, 81%, 31%)
CMYKcmyk(81.3%, 48.8%, 0%, 68.6%)
CIE-LABlab(16.83, 5.95, -26.81)
CIE-LCHlch(16.83, 27.46, 282.52°)
OKLaboklab(28.48% -0.0156 -0.0768)
OKLCHoklch(28.48% 0.078 258.5)
XYZxyz(2.4374, 2.2663, 7.8969)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2950 #50360F
analogous
#0F4950 #0F2950 #150F50
triadic
#0F2950 #500F29 #29500F
tetradic
#0F2950 #500F49 #50360F #0F5015
square
#0F2950 #500F49 #50360F #0F5015
split-complementary
#0F2950 #50150F #49500F
monochromatic
#050D1A #050F1C #0F2950 #194384 #225EB7

Accessibility & contrast

On white

14.45
#0F2950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2950
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2950#FFFFFF#000000##FFFFFF
##0F29501.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152D51
Deuteranopia (green-blind)
#08274F
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2950;
/* rgb */ color: rgb(15, 41, 80);
/* oklch */ color: oklch(28.5% 0.078 258.5);
Tailwind
colors: {
  custom: {
    50: '#586281',
    500: '#0f2950',
    950: '#000000',
  },
}
SCSS
$custom: #0f2950;
$custom-light: #586281;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2950",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 80
  },
  "hsl": {
    "h": 216,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28476,
    "c": 0.07833,
    "h": 258.5
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#0F2950
secondary
#8A6631
accent
#A53DEB
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F2950

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

Preview Lab → · Contrast checker → · Palette generator →

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