#0F365C#0F365C

#0F365C is a dark, moderate cyan. Relative luminance 0.035; OKLCH L 32.8% C 0.080 H 251.3°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#0F365C
RGBrgb(15, 54, 92)
HSLhsl(210, 72%, 21%)
HSVhsv(210, 84%, 36%)
CMYKcmyk(83.7%, 41.3%, 0%, 63.9%)
CIE-LABlab(21.99, 1.76, -26.56)
CIE-LCHlch(21.99, 26.62, 273.80°)
OKLaboklab(32.75% -0.0257 -0.0758)
OKLCHoklch(32.75% 0.08 251.3)
XYZxyz(3.4472, 3.5122, 10.6194)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F365C #5C350F
analogous
#0F5C5B #0F365C #0F105C
triadic
#0F365C #5C0F36 #365C0F
tetradic
#0F365C #5B0F5C #5C350F #105C0F
square
#0F365C #5B0F5C #5C350F #105C0F
split-complementary
#0F365C #5C0F10 #5C5B0F
monochromatic
#040F1A #061727 #0F365C #185591 #2074C5

Accessibility & contrast

On white

12.33
#0F365C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#0F365C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F365C
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F365C#FFFFFF#000000##FFFFFF
##0F365C1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24385E
Deuteranopia (green-blind)
#18315B
Tritanopia (blue-blind)
#003F44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0f365c;
/* rgb */ color: rgb(15, 54, 92);
/* oklch */ color: oklch(32.8% 0.080 251.3);
Tailwind
colors: {
  custom: {
    50: '#5b6c8a',
    500: '#0f365c',
    950: '#000000',
  },
}
SCSS
$custom: #0f365c;
$custom-light: #5b6c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f365c",
  "rgb": {
    "r": 15,
    "g": 54,
    "b": 92
  },
  "hsl": {
    "h": 209.61,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32751,
    "c": 0.08004,
    "h": 251.3
  },
  "luminance": 0.03513
}

Semantic roles & 50–950 ramp

primary
#0F365C
secondary
#956331
accent
#9339EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04070C
muted
#797A7D

Preview Lab

Preview with #0F365C

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

Preview Lab → · Contrast checker → · Palette generator →

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