#0F2B51#0F2B51

#0F2B51 is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 29.1% C 0.077 H 257.0°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#0F2B51
RGBrgb(15, 43, 81)
HSLhsl(215, 69%, 19%)
HSVhsv(215, 81%, 32%)
CMYKcmyk(81.5%, 46.9%, 0%, 68.2%)
CIE-LABlab(17.57, 4.91, -26.30)
CIE-LCHlch(17.57, 26.75, 280.57°)
OKLaboklab(29.07% -0.0174 -0.0752)
OKLCHoklch(29.07% 0.077 257)
XYZxyz(2.5455, 2.4231, 8.1165)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B51 #51350F
analogous
#0F4C51 #0F2B51 #140F51
triadic
#0F2B51 #510F2B #2B510F
tetradic
#0F2B51 #510F4C #51350F #0F5114
square
#0F2B51 #510F4C #51350F #0F5114
split-complementary
#0F2B51 #51140F #4C510F
monochromatic
#050E1A #05101D #0F2B51 #194685 #2262B8

Accessibility & contrast

On white

14.15
#0F2B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0F2B51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B51
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B51#FFFFFF#000000##FFFFFF
##0F2B511.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182E52
Deuteranopia (green-blind)
#0C2850
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2b51;
/* rgb */ color: rgb(15, 43, 81);
/* oklch */ color: oklch(29.1% 0.077 257.0);
Tailwind
colors: {
  custom: {
    50: '#586382',
    500: '#0f2b51',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b51;
$custom-light: #586382;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b51",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 81
  },
  "hsl": {
    "h": 214.545,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29072,
    "c": 0.07722,
    "h": 257
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#0F2B51
secondary
#8B6531
accent
#A13CEC
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F2B51

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

Preview Lab → · Contrast checker → · Palette generator →

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