#0F3A54#0F3A54

#0F3A54 is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.3% C 0.065 H 239.9°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#0F3A54
RGBrgb(15, 58, 84)
HSLhsl(203, 70%, 19%)
HSVhsv(203, 82%, 33%)
CMYKcmyk(82.1%, 31%, 0%, 67.1%)
CIE-LABlab(22.89, -4.34, -19.88)
CIE-LCHlch(22.89, 20.34, 257.68°)
OKLaboklab(33.31% -0.0326 -0.0562)
OKLCHoklch(33.31% 0.065 239.9)
XYZxyz(3.3097, 3.7674, 8.9385)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3A54 #54290F
analogous
#0F544C #0F3A54 #0F1754
triadic
#0F3A54 #540F3A #3A540F
tetradic
#0F3A54 #4C0F54 #54290F #17540F
square
#0F3A54 #4C0F54 #54290F #17540F
split-complementary
#0F3A54 #540F17 #544C0F
monochromatic
#05121A #061620 #0F3A54 #185E88 #2282BC

Accessibility & contrast

On white

11.98
#0F3A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#0F3A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3A54
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3A54#FFFFFF#000000##FFFFFF
##0F3A541.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A55
Deuteranopia (green-blind)
#243454
Tritanopia (blue-blind)
#004143
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f3a54;
/* rgb */ color: rgb(15, 58, 84);
/* oklch */ color: oklch(33.3% 0.065 239.9);
Tailwind
colors: {
  custom: {
    50: '#597084',
    500: '#0f3a54',
    950: '#000000',
  },
}
SCSS
$custom: #0f3a54;
$custom-light: #597084;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3a54",
  "rgb": {
    "r": 15,
    "g": 58,
    "b": 84
  },
  "hsl": {
    "h": 202.609,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.33306,
    "c": 0.06496,
    "h": 239.9
  },
  "luminance": 0.03768
}

Semantic roles & 50–950 ramp

primary
#0F3A54
secondary
#8E5431
accent
#7E3BED
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #0F3A54

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

Preview Lab → · Contrast checker → · Palette generator →

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