#0F2F51#0F2F51

#0F2F51 is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.1% C 0.072 H 252.6°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#0F2F51
RGBrgb(15, 47, 81)
HSLhsl(211, 69%, 19%)
HSVhsv(211, 81%, 32%)
CMYKcmyk(81.5%, 42%, 0%, 68.2%)
CIE-LABlab(18.92, 2.00, -24.14)
CIE-LCHlch(18.92, 24.22, 274.75°)
OKLaboklab(30.13% -0.0216 -0.0688)
OKLCHoklch(30.13% 0.072 252.6)
XYZxyz(2.6982, 2.7284, 8.1674)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F51 #51310F
analogous
#0F5051 #0F2F51 #100F51
triadic
#0F2F51 #510F2F #2F510F
tetradic
#0F2F51 #510F50 #51310F #0F5110
square
#0F2F51 #510F50 #51310F #0F5110
split-complementary
#0F2F51 #51100F #50510F
monochromatic
#050F1A #05111D #0F2F51 #194D85 #226BB8

Accessibility & contrast

On white

13.59
#0F2F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#0F2F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F51
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F51#FFFFFF#000000##FFFFFF
##0F2F511.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3152
Deuteranopia (green-blind)
#152B50
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2f51;
/* rgb */ color: rgb(15, 47, 81);
/* oklch */ color: oklch(30.1% 0.072 252.6);
Tailwind
colors: {
  custom: {
    50: '#586782',
    500: '#0f2f51',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f51;
$custom-light: #586782;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f51",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 81
  },
  "hsl": {
    "h": 210.909,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30126,
    "c": 0.07213,
    "h": 252.6
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#0F2F51
secondary
#8B5F31
accent
#973CEC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0F2F51

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

Preview Lab → · Contrast checker → · Palette generator →

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