#0F3957#0F3957

#0F3957 is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.2% C 0.070 H 244.2°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#0F3957
RGBrgb(15, 57, 87)
HSLhsl(205, 71%, 20%)
HSVhsv(205, 83%, 34%)
CMYKcmyk(82.8%, 34.5%, 0%, 65.9%)
CIE-LABlab(22.71, -2.42, -22.14)
CIE-LCHlch(22.71, 22.27, 263.75°)
OKLaboklab(33.22% -0.0304 -0.0628)
OKLCHoklch(33.22% 0.07 244.2)
XYZxyz(3.3798, 3.7155, 9.5540)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3957 #572D0F
analogous
#0F5751 #0F3957 #0F1557
triadic
#0F3957 #570F39 #39570F
tetradic
#0F3957 #510F57 #572D0F #15570F
square
#0F3957 #510F57 #572D0F #15570F
split-complementary
#0F3957 #570F15 #57510F
monochromatic
#05111A #061723 #0F3957 #185B8B #217DBF

Accessibility & contrast

On white

12.05
#0F3957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#0F3957 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3957
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3957#FFFFFF#000000##FFFFFF
##0F39571.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A58
Deuteranopia (green-blind)
#213356
Tritanopia (blue-blind)
#004044
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0f3957;
/* rgb */ color: rgb(15, 57, 87);
/* oklch */ color: oklch(33.2% 0.070 244.2);
Tailwind
colors: {
  custom: {
    50: '#5a6f86',
    500: '#0f3957',
    950: '#000000',
  },
}
SCSS
$custom: #0f3957;
$custom-light: #5a6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3957",
  "rgb": {
    "r": 15,
    "g": 57,
    "b": 87
  },
  "hsl": {
    "h": 205,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.33219,
    "c": 0.06977,
    "h": 244.2
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

primary
#0F3957
secondary
#915931
accent
#853AED
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #0F3957

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

Preview Lab → · Contrast checker → · Palette generator →

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