#0F3165#0F3165

#0F3165 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.100 H 259.0°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#0F3165
RGBrgb(15, 49, 101)
HSLhsl(216, 74%, 23%)
HSVhsv(216, 85%, 40%)
CMYKcmyk(85.1%, 51.5%, 0%, 60.4%)
CIE-LABlab(20.97, 9.23, -34.09)
CIE-LCHlch(20.97, 35.31, 285.16°)
OKLaboklab(32.16% -0.019 -0.098)
OKLCHoklch(32.16% 0.1 259)
XYZxyz(3.6434, 3.2373, 12.7422)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3165 #65430F
analogous
#0F5C65 #0F3165 #180F65
triadic
#0F3165 #650F31 #31650F
tetradic
#0F3165 #650F5C #65430F #0F6518
square
#0F3165 #650F5C #65430F #0F6518
split-complementary
#0F3165 #65180F #5C650F
monochromatic
#040D1B #071730 #0F3165 #174B9A #1F65D0

Accessibility & contrast

On white

12.75
#0F3165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#0F3165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3165
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3165#FFFFFF#000000##FFFFFF
##0F31651.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133767
Deuteranopia (green-blind)
#002F64
Tritanopia (blue-blind)
#003E46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0f3165;
/* rgb */ color: rgb(15, 49, 101);
/* oklch */ color: oklch(32.2% 0.100 259.0);
Tailwind
colors: {
  custom: {
    50: '#5d6891',
    500: '#0f3165',
    950: '#000000',
  },
}
SCSS
$custom: #0f3165;
$custom-light: #5d6891;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3165",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 101
  },
  "hsl": {
    "h": 216.279,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32161,
    "c": 0.09983,
    "h": 259
  },
  "luminance": 0.03238
}

Semantic roles & 50–950 ramp

primary
#0F3165
secondary
#9E7332
accent
#A737F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #0F3165

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

Preview Lab → · Contrast checker → · Palette generator →

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