#0F3370#0F3370

#0F3370 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.114 H 260.4°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#0F3370
RGBrgb(15, 51, 112)
HSLhsl(218, 76%, 25%)
HSVhsv(218, 87%, 44%)
CMYKcmyk(86.6%, 54.5%, 0%, 56.1%)
CIE-LABlab(22.44, 12.54, -38.83)
CIE-LCHlch(22.44, 40.80, 287.90°)
OKLaboklab(33.55% -0.0189 -0.1119)
OKLCHoklch(33.55% 0.114 260.4)
XYZxyz(4.3044, 3.6385, 15.8015)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3370 #704C0F
analogous
#0F6470 #0F3370 #1C0F70
triadic
#0F3370 #700F33 #33700F
tetradic
#0F3370 #700F64 #704C0F #0F701C
square
#0F3370 #700F64 #704C0F #0F701C
split-complementary
#0F3370 #701C0F #64700F
monochromatic
#040C1B #081A3A #0F3370 #164CA6 #1D64DC

Accessibility & contrast

On white

12.15
#0F3370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#0F3370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3370
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3370#FFFFFF#000000##FFFFFF
##0F33701.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083A72
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0f3370;
/* rgb */ color: rgb(15, 51, 112);
/* oklch */ color: oklch(33.6% 0.114 260.4);
Tailwind
colors: {
  custom: {
    50: '#606a9a',
    500: '#0f3370',
    950: '#000000',
  },
}
SCSS
$custom: #0f3370;
$custom-light: #606a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3370",
  "rgb": {
    "r": 15,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 217.732,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33553,
    "c": 0.11351,
    "h": 260.4
  },
  "luminance": 0.03639
}

Semantic roles & 50–950 ramp

primary
#0F3370
secondary
#A87C33
accent
#AC35F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0F3370

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

Preview Lab → · Contrast checker → · Palette generator →

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