#0F365F#0F365F

#0F365F is a dark, moderate cyan. Relative luminance 0.036; OKLCH L 33.0% C 0.084 H 252.9°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#0F365F
RGBrgb(15, 54, 95)
HSLhsl(211, 73%, 22%)
HSVhsv(211, 84%, 37%)
CMYKcmyk(84.2%, 43.2%, 0%, 62.7%)
CIE-LABlab(22.18, 3.05, -28.23)
CIE-LCHlch(22.18, 28.39, 276.17°)
OKLaboklab(32.96% -0.0249 -0.0807)
OKLCHoklch(32.96% 0.084 252.9)
XYZxyz(3.5810, 3.5657, 11.3238)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F365F #5F380F
analogous
#0F5E5F #0F365F #100F5F
triadic
#0F365F #5F0F36 #365F0F
tetradic
#0F365F #5F0F5E #5F380F #0F5F10
square
#0F365F #5F0F5E #5F380F #0F5F10
split-complementary
#0F365F #5F100F #5E5F0F
monochromatic
#040F1A #07182A #0F365F #175494 #2072C9

Accessibility & contrast

On white

12.26
#0F365F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F365F
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F365F#FFFFFF#000000##FFFFFF
##0F365F1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223961
Deuteranopia (green-blind)
#15325E
Tritanopia (blue-blind)
#004045
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0f365f;
/* rgb */ color: rgb(15, 54, 95);
/* oklch */ color: oklch(33.0% 0.084 252.9);
Tailwind
colors: {
  custom: {
    50: '#5c6c8d',
    500: '#0f365f',
    950: '#000000',
  },
}
SCSS
$custom: #0f365f;
$custom-light: #5c6c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f365f",
  "rgb": {
    "r": 15,
    "g": 54,
    "b": 95
  },
  "hsl": {
    "h": 210.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32963,
    "c": 0.08442,
    "h": 252.9
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#0F365F
secondary
#986632
accent
#9638EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0F365F

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

Preview Lab → · Contrast checker → · Palette generator →

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