#0F3876#0F3876

#0F3876 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.2% C 0.116 H 259.1°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#0F3876
RGBrgb(15, 56, 118)
HSLhsl(216, 77%, 26%)
HSVhsv(216, 87%, 46%)
CMYKcmyk(87.3%, 52.5%, 0%, 53.7%)
CIE-LABlab(24.44, 11.52, -39.42)
CIE-LCHlch(24.44, 41.07, 286.29°)
OKLaboklab(35.23% -0.0219 -0.1135)
OKLCHoklch(35.23% 0.116 259.1)
XYZxyz(4.8800, 4.2373, 17.6967)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3876 #764D0F
analogous
#0F6B76 #0F3876 #1A0F76
triadic
#0F3876 #760F38 #38760F
tetradic
#0F3876 #760F6B #764D0F #0F761A
square
#0F3876 #760F6B #764D0F #0F761A
split-complementary
#0F3876 #761A0F #6B760F
monochromatic
#030D1B #081E40 #0F3876 #1652AC #1D6CE2

Accessibility & contrast

On white

11.37
#0F3876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#0F3876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3876
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3876#FFFFFF#000000##FFFFFF
##0F38761.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103F78
Deuteranopia (green-blind)
#003675
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0f3876;
/* rgb */ color: rgb(15, 56, 118);
/* oklch */ color: oklch(35.2% 0.116 259.1);
Tailwind
colors: {
  custom: {
    50: '#626e9e',
    500: '#0f3876',
    950: '#000000',
  },
}
SCSS
$custom: #0f3876;
$custom-light: #626e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3876",
  "rgb": {
    "r": 15,
    "g": 56,
    "b": 118
  },
  "hsl": {
    "h": 216.117,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35231,
    "c": 0.11564,
    "h": 259.1
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#0F3876
secondary
#AD7D33
accent
#A734F4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #0F3876

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

Preview Lab → · Contrast checker → · Palette generator →

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