#0F365E#0F365E

#0F365E is a dark, moderate cyan. Relative luminance 0.035; OKLCH L 32.9% C 0.083 H 252.3°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#0F365E
RGBrgb(15, 54, 94)
HSLhsl(210, 72%, 21%)
HSVhsv(210, 84%, 37%)
CMYKcmyk(84%, 42.6%, 0%, 63.1%)
CIE-LABlab(22.12, 2.62, -27.67)
CIE-LCHlch(22.12, 27.80, 275.41°)
OKLaboklab(32.89% -0.0252 -0.079)
OKLCHoklch(32.89% 0.083 252.3)
XYZxyz(3.5358, 3.5476, 11.0859)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F365E #5E370F
analogous
#0F5E5E #0F365E #100F5E
triadic
#0F365E #5E0F36 #365E0F
tetradic
#0F365E #5E0F5E #5E370F #0F5E10
square
#0F365E #5E0F5E #5E370F #0F5E10
split-complementary
#0F365E #5E100F #5E5E0F
monochromatic
#040F1A #071829 #0F365E #175493 #2073C8

Accessibility & contrast

On white

12.28
#0F365E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F365E
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F365E#FFFFFF#000000##FFFFFF
##0F365E1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233960
Deuteranopia (green-blind)
#16325D
Tritanopia (blue-blind)
#003F45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0f365e;
/* rgb */ color: rgb(15, 54, 94);
/* oklch */ color: oklch(32.9% 0.083 252.3);
Tailwind
colors: {
  custom: {
    50: '#5b6c8c',
    500: '#0f365e',
    950: '#000000',
  },
}
SCSS
$custom: #0f365e;
$custom-light: #5b6c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f365e",
  "rgb": {
    "r": 15,
    "g": 54,
    "b": 94
  },
  "hsl": {
    "h": 210.38,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32892,
    "c": 0.08296,
    "h": 252.3
  },
  "luminance": 0.03548
}

Semantic roles & 50–950 ramp

primary
#0F365E
secondary
#976531
accent
#9539EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04070C
muted
#797A7D

Preview Lab

Preview with #0F365E

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

Preview Lab → · Contrast checker → · Palette generator →

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