#0F2050#0F2050

#0F2050 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.091 H 265.6°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#0F2050
RGBrgb(15, 32, 80)
HSLhsl(224, 68%, 19%)
HSVhsv(224, 81%, 31%)
CMYKcmyk(81.3%, 60%, 0%, 68.6%)
CIE-LABlab(13.91, 12.74, -31.52)
CIE-LCHlch(13.91, 34.00, 292.02°)
OKLaboklab(26.25% -0.0069 -0.0908)
OKLCHoklch(26.25% 0.091 265.6)
XYZxyz(2.1610, 1.7135, 7.8047)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2050 #503F0F
analogous
#0F4050 #0F2050 #1E0F50
triadic
#0F2050 #500F20 #20500F
tetradic
#0F2050 #500F40 #503F0F #0F501E
square
#0F2050 #500F40 #503F0F #0F501E
split-complementary
#0F2050 #501E0F #40500F
monochromatic
#050A1A #050B1C #0F2050 #193584 #2249B7

Accessibility & contrast

On white

15.64
#0F2050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0F2050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2050
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2050#FFFFFF#000000##FFFFFF
##0F20501.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002752
Deuteranopia (green-blind)
#00214F
Tritanopia (blue-blind)
#002C34
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f2050;
/* rgb */ color: rgb(15, 32, 80);
/* oklch */ color: oklch(26.2% 0.091 265.6);
Tailwind
colors: {
  custom: {
    50: '#585a81',
    500: '#0f2050',
    950: '#000000',
  },
}
SCSS
$custom: #0f2050;
$custom-light: #585a81;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2050",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 80
  },
  "hsl": {
    "h": 224.308,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26245,
    "c": 0.09108,
    "h": 265.6
  },
  "luminance": 0.01714
}

Semantic roles & 50–950 ramp

primary
#0F2050
secondary
#8A7331
accent
#BE3DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F2050

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

Preview Lab → · Contrast checker → · Palette generator →

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