#0F2C54#0F2C54

#0F2C54 is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.6% C 0.081 H 257.3°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#0F2C54
RGBrgb(15, 44, 84)
HSLhsl(215, 70%, 19%)
HSVhsv(215, 82%, 33%)
CMYKcmyk(82.1%, 47.6%, 0%, 67.1%)
CIE-LABlab(18.11, 5.48, -27.44)
CIE-LCHlch(18.11, 27.99, 281.30°)
OKLaboklab(29.56% -0.0177 -0.0786)
OKLCHoklch(29.56% 0.081 257.3)
XYZxyz(2.6973, 2.5427, 8.7344)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C54 #54370F
analogous
#0F4F54 #0F2C54 #150F54
triadic
#0F2C54 #540F2C #2C540F
tetradic
#0F2C54 #540F4F #54370F #0F5415
square
#0F2C54 #540F4F #54370F #0F5415
split-complementary
#0F2C54 #54150F #4F540F
monochromatic
#050E1A #061120 #0F2C54 #184788 #2262BC

Accessibility & contrast

On white

13.92
#0F2C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2C54
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C54#FFFFFF#000000##FFFFFF
##0F2C541.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183056
Deuteranopia (green-blind)
#0B2953
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2c54;
/* rgb */ color: rgb(15, 44, 84);
/* oklch */ color: oklch(29.6% 0.081 257.3);
Tailwind
colors: {
  custom: {
    50: '#596484',
    500: '#0f2c54',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c54;
$custom-light: #596484;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c54",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 84
  },
  "hsl": {
    "h": 214.783,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2956,
    "c": 0.08057,
    "h": 257.3
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#0F2C54
secondary
#8E6731
accent
#A23BED
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2C54

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

Preview Lab → · Contrast checker → · Palette generator →

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