#0F2D54#0F2D54

#0F2D54 is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.8% C 0.079 H 256.3°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#0F2D54
RGBrgb(15, 45, 84)
HSLhsl(214, 70%, 19%)
HSVhsv(214, 82%, 33%)
CMYKcmyk(82.1%, 46.4%, 0%, 67.1%)
CIE-LABlab(18.44, 4.75, -26.91)
CIE-LCHlch(18.44, 27.33, 280.01°)
OKLaboklab(29.82% -0.0187 -0.077)
OKLCHoklch(29.82% 0.079 256.3)
XYZxyz(2.7350, 2.6181, 8.7470)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D54 #54360F
analogous
#0F5054 #0F2D54 #140F54
triadic
#0F2D54 #540F2D #2D540F
tetradic
#0F2D54 #540F50 #54360F #0F5414
square
#0F2D54 #540F50 #54360F #0F5414
split-complementary
#0F2D54 #54140F #50540F
monochromatic
#050E1A #061120 #0F2D54 #184988 #2265BC

Accessibility & contrast

On white

13.78
#0F2D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0F2D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D54
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D54#FFFFFF#000000##FFFFFF
##0F2D541.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3056
Deuteranopia (green-blind)
#0D2A53
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2d54;
/* rgb */ color: rgb(15, 45, 84);
/* oklch */ color: oklch(29.8% 0.079 256.3);
Tailwind
colors: {
  custom: {
    50: '#596584',
    500: '#0f2d54',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d54;
$custom-light: #596584;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d54",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 84
  },
  "hsl": {
    "h": 213.913,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29819,
    "c": 0.07924,
    "h": 256.3
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#0F2D54
secondary
#8E6531
accent
#9F3BED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #0F2D54

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

Preview Lab → · Contrast checker → · Palette generator →

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