#0F2F54#0F2F54

#0F2F54 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.3% C 0.077 H 254.3°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#0F2F54
RGBrgb(15, 47, 84)
HSLhsl(212, 70%, 19%)
HSVhsv(212, 82%, 33%)
CMYKcmyk(82.1%, 44%, 0%, 67.1%)
CIE-LABlab(19.12, 3.30, -25.84)
CIE-LCHlch(19.12, 26.05, 277.28°)
OKLaboklab(30.34% -0.0208 -0.0738)
OKLCHoklch(30.34% 0.077 254.3)
XYZxyz(2.8132, 2.7744, 8.7730)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F54 #54340F
analogous
#0F5254 #0F2F54 #120F54
triadic
#0F2F54 #540F2F #2F540F
tetradic
#0F2F54 #540F52 #54340F #0F5412
square
#0F2F54 #540F52 #54340F #0F5412
split-complementary
#0F2F54 #54120F #52540F
monochromatic
#050F1A #061220 #0F2F54 #184C88 #2269BC

Accessibility & contrast

On white

13.50
#0F2F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#0F2F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F54
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F54#FFFFFF#000000##FFFFFF
##0F2F541.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3255
Deuteranopia (green-blind)
#122B53
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2f54;
/* rgb */ color: rgb(15, 47, 84);
/* oklch */ color: oklch(30.3% 0.077 254.3);
Tailwind
colors: {
  custom: {
    50: '#596784',
    500: '#0f2f54',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f54;
$custom-light: #596784;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f54",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 84
  },
  "hsl": {
    "h": 212.174,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30341,
    "c": 0.07667,
    "h": 254.3
  },
  "luminance": 0.02775
}

Semantic roles & 50–950 ramp

primary
#0F2F54
secondary
#8E6331
accent
#9A3BED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F2F54

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

Preview Lab → · Contrast checker → · Palette generator →

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