#0F2C52#0F2C52

#0F2C52 is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.4% C 0.077 H 256.4°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#0F2C52
RGBrgb(15, 44, 82)
HSLhsl(214, 69%, 19%)
HSVhsv(214, 82%, 32%)
CMYKcmyk(81.7%, 46.3%, 0%, 67.8%)
CIE-LABlab(17.97, 4.61, -26.32)
CIE-LCHlch(17.97, 26.72, 279.94°)
OKLaboklab(29.41% -0.0182 -0.0753)
OKLCHoklch(29.41% 0.077 256.4)
XYZxyz(2.6201, 2.5118, 8.3277)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C52 #52350F
analogous
#0F4E52 #0F2C52 #140F52
triadic
#0F2C52 #520F2C #2C520F
tetradic
#0F2C52 #520F4E #52350F #0F5214
square
#0F2C52 #520F4E #52350F #0F5214
split-complementary
#0F2C52 #52140F #4E520F
monochromatic
#050E1A #06101E #0F2C52 #184886 #2264B9

Accessibility & contrast

On white

13.98
#0F2C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2C52
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C52#FFFFFF#000000##FFFFFF
##0F2C521.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192F53
Deuteranopia (green-blind)
#0D2951
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2c52;
/* rgb */ color: rgb(15, 44, 82);
/* oklch */ color: oklch(29.4% 0.077 256.4);
Tailwind
colors: {
  custom: {
    50: '#586483',
    500: '#0f2c52',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c52;
$custom-light: #586483;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c52",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 82
  },
  "hsl": {
    "h": 214.03,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29408,
    "c": 0.07746,
    "h": 256.4
  },
  "luminance": 0.02512
}

Semantic roles & 50–950 ramp

primary
#0F2C52
secondary
#8C6531
accent
#A03CEC
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F2C52

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

Preview Lab → · Contrast checker → · Palette generator →

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