#0F3F54#0F3F54

#0F3F54 is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 34.7% C 0.062 H 231.7°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#0F3F54
RGBrgb(15, 63, 84)
HSLhsl(198, 70%, 19%)
HSVhsv(198, 82%, 33%)
CMYKcmyk(82.1%, 25%, 0%, 67.1%)
CIE-LABlab(24.63, -7.61, -17.16)
CIE-LCHlch(24.63, 18.77, 246.09°)
OKLaboklab(34.69% -0.0382 -0.0483)
OKLCHoklch(34.69% 0.062 231.7)
XYZxyz(3.5741, 4.2962, 9.0267)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3F54 #54240F
analogous
#0F5447 #0F3F54 #0F1D54
triadic
#0F3F54 #540F3F #3F540F
tetradic
#0F3F54 #470F54 #54240F #1D540F
square
#0F3F54 #470F54 #54240F #1D540F
split-complementary
#0F3F54 #540F1D #54470F
monochromatic
#05131A #061820 #0F3F54 #186688 #228DBC

Accessibility & contrast

On white

11.29
#0F3F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#0F3F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3F54
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3F54#FFFFFF#000000##FFFFFF
##0F3F541.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343E55
Deuteranopia (green-blind)
#2B3854
Tritanopia (blue-blind)
#004546
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0f3f54;
/* rgb */ color: rgb(15, 63, 84);
/* oklch */ color: oklch(34.7% 0.062 231.7);
Tailwind
colors: {
  custom: {
    50: '#597484',
    500: '#0f3f54',
    950: '#000000',
  },
}
SCSS
$custom: #0f3f54;
$custom-light: #597484;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3f54",
  "rgb": {
    "r": 15,
    "g": 63,
    "b": 84
  },
  "hsl": {
    "h": 198.261,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.34691,
    "c": 0.06154,
    "h": 231.7
  },
  "luminance": 0.04297
}

Semantic roles & 50–950 ramp

primary
#0F3F54
secondary
#8E4D31
accent
#713BED
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080A
muted
#797B7C

Preview Lab

Preview with #0F3F54

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

Preview Lab → · Contrast checker → · Palette generator →

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