#0F2C51#0F2C51

#0F2C51 is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.3% C 0.076 H 255.9°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#0F2C51
RGBrgb(15, 44, 81)
HSLhsl(214, 69%, 19%)
HSVhsv(214, 81%, 32%)
CMYKcmyk(81.5%, 45.7%, 0%, 68.2%)
CIE-LABlab(17.90, 4.18, -25.76)
CIE-LCHlch(17.90, 26.10, 279.21°)
OKLaboklab(29.33% -0.0184 -0.0736)
OKLCHoklch(29.33% 0.076 255.9)
XYZxyz(2.5823, 2.4967, 8.1288)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C51 #51340F
analogous
#0F4D51 #0F2C51 #130F51
triadic
#0F2C51 #510F2C #2C510F
tetradic
#0F2C51 #510F4D #51340F #0F5113
square
#0F2C51 #510F4D #51340F #0F5113
split-complementary
#0F2C51 #51130F #4D510F
monochromatic
#050E1A #05101D #0F2C51 #194885 #2264B8

Accessibility & contrast

On white

14.01
#0F2C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0F2C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C51
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C51#FFFFFF#000000##FFFFFF
##0F2C511.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2F52
Deuteranopia (green-blind)
#0F2950
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2c51;
/* rgb */ color: rgb(15, 44, 81);
/* oklch */ color: oklch(29.3% 0.076 255.9);
Tailwind
colors: {
  custom: {
    50: '#586482',
    500: '#0f2c51',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c51;
$custom-light: #586482;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c51",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 81
  },
  "hsl": {
    "h": 213.636,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29333,
    "c": 0.07591,
    "h": 255.9
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#0F2C51
secondary
#8B6331
accent
#9F3CEC
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F2C51

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

Preview Lab → · Contrast checker → · Palette generator →

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