#0F365A#0F365A

#0F365A is a dark, moderate cyan. Relative luminance 0.035; OKLCH L 32.6% C 0.077 H 250.1°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#0F365A
RGBrgb(15, 54, 90)
HSLhsl(209, 71%, 21%)
HSVhsv(209, 83%, 35%)
CMYKcmyk(83.3%, 40%, 0%, 64.7%)
CIE-LABlab(21.86, 0.91, -25.45)
CIE-LCHlch(21.86, 25.46, 272.04°)
OKLaboklab(32.61% -0.0263 -0.0725)
OKLCHoklch(32.61% 0.077 250.1)
XYZxyz(3.3609, 3.4777, 10.1650)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F365A #5A330F
analogous
#0F5A58 #0F365A #0F105A
triadic
#0F365A #5A0F36 #365A0F
tetradic
#0F365A #580F5A #5A330F #105A0F
square
#0F365A #580F5A #5A330F #105A0F
split-complementary
#0F365A #5A0F10 #5A580F
monochromatic
#04101A #061726 #0F365A #18558E #2075C3

Accessibility & contrast

On white

12.38
#0F365A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F365A
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F365A#FFFFFF#000000##FFFFFF
##0F365A1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25385B
Deuteranopia (green-blind)
#1A3159
Tritanopia (blue-blind)
#003F43
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0f365a;
/* rgb */ color: rgb(15, 54, 90);
/* oklch */ color: oklch(32.6% 0.077 250.1);
Tailwind
colors: {
  custom: {
    50: '#5a6c89',
    500: '#0f365a',
    950: '#000000',
  },
}
SCSS
$custom: #0f365a;
$custom-light: #5a6c89;
$custom-dark: #000000;
JSON
{
  "hex": "#0f365a",
  "rgb": {
    "r": 15,
    "g": 54,
    "b": 90
  },
  "hsl": {
    "h": 208.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32613,
    "c": 0.07714,
    "h": 250.1
  },
  "luminance": 0.03478
}

Semantic roles & 50–950 ramp

primary
#0F365A
secondary
#946031
accent
#903AEE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #0F365A

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

Preview Lab → · Contrast checker → · Palette generator →

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