#0F3770#0F3770

#0F3770 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.5% C 0.108 H 258.2°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#0F3770
RGBrgb(15, 55, 112)
HSLhsl(215, 76%, 25%)
HSVhsv(215, 87%, 44%)
CMYKcmyk(86.6%, 50.9%, 0%, 56.1%)
CIE-LABlab(23.68, 9.66, -36.82)
CIE-LCHlch(23.68, 38.07, 284.70°)
OKLaboklab(34.51% -0.0221 -0.1059)
OKLCHoklch(34.51% 0.108 258.2)
XYZxyz(4.4867, 4.0032, 15.8623)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3770 #70480F
analogous
#0F6770 #0F3770 #180F70
triadic
#0F3770 #700F37 #37700F
tetradic
#0F3770 #700F67 #70480F #0F7018
square
#0F3770 #700F67 #70480F #0F7018
split-complementary
#0F3770 #70180F #67700F
monochromatic
#040D1B #081C3A #0F3770 #1652A6 #1D6CDC

Accessibility & contrast

On white

11.66
#0F3770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0F3770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3770
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3770#FFFFFF#000000##FFFFFF
##0F37701.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153D72
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f3770;
/* rgb */ color: rgb(15, 55, 112);
/* oklch */ color: oklch(34.5% 0.108 258.2);
Tailwind
colors: {
  custom: {
    50: '#606d99',
    500: '#0f3770',
    950: '#000000',
  },
}
SCSS
$custom: #0f3770;
$custom-light: #606d99;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3770",
  "rgb": {
    "r": 15,
    "g": 55,
    "b": 112
  },
  "hsl": {
    "h": 215.258,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34506,
    "c": 0.1082,
    "h": 258.2
  },
  "luminance": 0.04004
}

Semantic roles & 50–950 ramp

primary
#0F3770
secondary
#A87833
accent
#A535F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #0F3770

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

Preview Lab → · Contrast checker → · Palette generator →

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