#0F366E#0F366E

#0F366E is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.1% C 0.107 H 258.3°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#0F366E
RGBrgb(15, 54, 110)
HSLhsl(215, 76%, 25%)
HSVhsv(215, 86%, 43%)
CMYKcmyk(86.4%, 50.9%, 0%, 56.9%)
CIE-LABlab(23.22, 9.52, -36.28)
CIE-LCHlch(23.22, 37.51, 284.70°)
OKLaboklab(34.1% -0.0216 -0.1044)
OKLCHoklch(34.1% 0.107 258.3)
XYZxyz(4.3296, 3.8651, 15.2667)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F366E #6E470F
analogous
#0F666E #0F366E #170F6E
triadic
#0F366E #6E0F36 #366E0F
tetradic
#0F366E #6E0F66 #6E470F #0F6E17
square
#0F366E #6E0F66 #6E470F #0F6E17
split-complementary
#0F366E #6E170F #666E0F
monochromatic
#040D1B #081C38 #0F366E #1650A4 #1E6BDA

Accessibility & contrast

On white

11.84
#0F366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#0F366E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F366E
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F366E#FFFFFF#000000##FFFFFF
##0F366E1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153C70
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f366e;
/* rgb */ color: rgb(15, 54, 110);
/* oklch */ color: oklch(34.1% 0.107 258.3);
Tailwind
colors: {
  custom: {
    50: '#606c98',
    500: '#0f366e',
    950: '#000000',
  },
}
SCSS
$custom: #0f366e;
$custom-light: #606c98;
$custom-dark: #000000;
JSON
{
  "hex": "#0f366e",
  "rgb": {
    "r": 15,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 215.368,
    "s": 76,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34104,
    "c": 0.10658,
    "h": 258.3
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#0F366E
secondary
#A67733
accent
#A535F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060E
muted
#7A7A7E

Preview Lab

Preview with #0F366E

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

Preview Lab → · Contrast checker → · Palette generator →

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