#0F3854#0F3854

#0F3854 is a dark, moderate cyan. Relative luminance 0.036; OKLCH L 32.8% C 0.067 H 242.9°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#0F3854
RGBrgb(15, 56, 84)
HSLhsl(204, 70%, 19%)
HSVhsv(204, 82%, 33%)
CMYKcmyk(82.1%, 33.3%, 0%, 67.1%)
CIE-LABlab(22.19, -3.00, -20.96)
CIE-LCHlch(22.19, 21.18, 261.86°)
OKLaboklab(32.76% -0.0304 -0.0594)
OKLCHoklch(32.76% 0.067 242.9)
XYZxyz(3.2108, 3.5696, 8.9056)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3854 #542B0F
analogous
#0F544E #0F3854 #0F1654
triadic
#0F3854 #540F38 #38540F
tetradic
#0F3854 #4E0F54 #542B0F #16540F
square
#0F3854 #4E0F54 #542B0F #16540F
split-complementary
#0F3854 #540F16 #544E0F
monochromatic
#05111A #061520 #0F3854 #185B88 #227DBC

Accessibility & contrast

On white

12.25
#0F3854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#0F3854 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3854
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3854#FFFFFF#000000##FFFFFF
##0F38541.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3955
Deuteranopia (green-blind)
#213253
Tritanopia (blue-blind)
#003F42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0f3854;
/* rgb */ color: rgb(15, 56, 84);
/* oklch */ color: oklch(32.8% 0.067 242.9);
Tailwind
colors: {
  custom: {
    50: '#596e84',
    500: '#0f3854',
    950: '#000000',
  },
}
SCSS
$custom: #0f3854;
$custom-light: #596e84;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3854",
  "rgb": {
    "r": 15,
    "g": 56,
    "b": 84
  },
  "hsl": {
    "h": 204.348,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.32758,
    "c": 0.0667,
    "h": 242.9
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#0F3854
secondary
#8E5731
accent
#833BED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #0F3854

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

Preview Lab → · Contrast checker → · Palette generator →

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