#0F3C7D#0F3C7D

#0F3C7D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.7% C 0.121 H 258.6°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#0F3C7D
RGBrgb(15, 60, 125)
HSLhsl(215, 79%, 27%)
HSVhsv(215, 88%, 49%)
CMYKcmyk(88%, 52%, 0%, 51%)
CIE-LABlab(26.20, 11.67, -41.01)
CIE-LCHlch(26.20, 42.64, 285.89°)
OKLaboklab(36.74% -0.0239 -0.1181)
OKLCHoklch(36.74% 0.121 258.6)
XYZxyz(5.5132, 4.8132, 20.0365)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3C7D #7D500F
analogous
#0F737D #0F3C7D #190F7D
triadic
#0F3C7D #7D0F3C #3C7D0F
tetradic
#0F3C7D #7D0F73 #7D500F #0F7D19
square
#0F3C7D #7D0F73 #7D500F #0F7D19
split-complementary
#0F3C7D #7D190F #737D0F
monochromatic
#030D1B #082246 #0F3C7D #1656B4 #2272E4

Accessibility & contrast

On white

10.70
#0F3C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#0F3C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3C7D
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3C7D#FFFFFF#000000##FFFFFF
##0F3C7D1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12437F
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f3c7d;
/* rgb */ color: rgb(15, 60, 125);
/* oklch */ color: oklch(36.7% 0.121 258.6);
Tailwind
colors: {
  custom: {
    50: '#6471a3',
    500: '#0f3c7d',
    950: '#000000',
  },
}
SCSS
$custom: #0f3c7d;
$custom-light: #6471a3;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3c7d",
  "rgb": {
    "r": 15,
    "g": 60,
    "b": 125
  },
  "hsl": {
    "h": 215.455,
    "s": 78.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36744,
    "c": 0.12052,
    "h": 258.6
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

primary
#0F3C7D
secondary
#B47F34
accent
#A633F5
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #0F3C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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