#0F2D51#0F2D51

#0F2D51 is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.6% C 0.075 H 254.9°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#0F2D51
RGBrgb(15, 45, 81)
HSLhsl(213, 69%, 19%)
HSVhsv(213, 81%, 32%)
CMYKcmyk(81.5%, 44.4%, 0%, 68.2%)
CIE-LABlab(18.24, 3.45, -25.22)
CIE-LCHlch(18.24, 25.45, 277.78°)
OKLaboklab(29.6% -0.0195 -0.072)
OKLCHoklch(29.6% 0.075 254.9)
XYZxyz(2.6200, 2.5721, 8.1414)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D51 #51330F
analogous
#0F4E51 #0F2D51 #120F51
triadic
#0F2D51 #510F2D #2D510F
tetradic
#0F2D51 #510F4E #51330F #0F5112
square
#0F2D51 #510F4E #51330F #0F5112
split-complementary
#0F2D51 #51120F #4E510F
monochromatic
#050E1A #05101D #0F2D51 #194A85 #2266B8

Accessibility & contrast

On white

13.87
#0F2D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0F2D51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D51
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D51#FFFFFF#000000##FFFFFF
##0F2D511.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3052
Deuteranopia (green-blind)
#112A50
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2d51;
/* rgb */ color: rgb(15, 45, 81);
/* oklch */ color: oklch(29.6% 0.075 254.9);
Tailwind
colors: {
  custom: {
    50: '#586582',
    500: '#0f2d51',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d51;
$custom-light: #586582;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d51",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 81
  },
  "hsl": {
    "h": 212.727,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29596,
    "c": 0.07462,
    "h": 254.9
  },
  "luminance": 0.02572
}

Semantic roles & 50–950 ramp

primary
#0F2D51
secondary
#8B6231
accent
#9C3CEC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #0F2D51

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

Preview Lab → · Contrast checker → · Palette generator →

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