#0F2A50#0F2A50

#0F2A50 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.077 H 257.5°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#0F2A50
RGBrgb(15, 42, 80)
HSLhsl(215, 68%, 19%)
HSVhsv(215, 81%, 31%)
CMYKcmyk(81.3%, 47.5%, 0%, 68.6%)
CIE-LABlab(17.16, 5.21, -26.27)
CIE-LCHlch(17.16, 26.78, 281.21°)
OKLaboklab(28.74% -0.0166 -0.0752)
OKLCHoklch(28.74% 0.077 257.5)
XYZxyz(2.4724, 2.3364, 7.9085)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A50 #50350F
analogous
#0F4A50 #0F2A50 #140F50
triadic
#0F2A50 #500F2A #2A500F
tetradic
#0F2A50 #500F4A #50350F #0F5014
square
#0F2A50 #500F4A #50350F #0F5014
split-complementary
#0F2A50 #50140F #4A500F
monochromatic
#050E1A #050F1C #0F2A50 #194584 #2260B7

Accessibility & contrast

On white

14.31
#0F2A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0F2A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A50
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A50#FFFFFF#000000##FFFFFF
##0F2A501.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172D51
Deuteranopia (green-blind)
#0B274F
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2a50;
/* rgb */ color: rgb(15, 42, 80);
/* oklch */ color: oklch(28.7% 0.077 257.5);
Tailwind
colors: {
  custom: {
    50: '#586381',
    500: '#0f2a50',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a50;
$custom-light: #586381;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a50",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 80
  },
  "hsl": {
    "h": 215.077,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28735,
    "c": 0.07699,
    "h": 257.5
  },
  "luminance": 0.02337
}

Semantic roles & 50–950 ramp

primary
#0F2A50
secondary
#8A6531
accent
#A33DEB
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F2A50

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

Preview Lab → · Contrast checker → · Palette generator →

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