#0F3C7E#0F3C7E

#0F3C7E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.8% C 0.122 H 258.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#0F3C7E
RGBrgb(15, 60, 126)
HSLhsl(216, 79%, 28%)
HSVhsv(216, 88%, 49%)
CMYKcmyk(88.1%, 52.4%, 0%, 50.6%)
CIE-LABlab(26.27, 12.10, -41.51)
CIE-LCHlch(26.27, 43.24, 286.24°)
OKLaboklab(36.83% -0.0237 -0.1196)
OKLCHoklch(36.83% 0.122 258.8)
XYZxyz(5.5774, 4.8389, 20.3747)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3C7E #7E510F
analogous
#0F737E #0F3C7E #1A0F7E
triadic
#0F3C7E #7E0F3C #3C7E0F
tetradic
#0F3C7E #7E0F73 #7E510F #0F7E1A
square
#0F3C7E #7E0F73 #7E510F #0F7E1A
split-complementary
#0F3C7E #7E1A0F #737E0F
monochromatic
#030D1B #082247 #0F3C7E #1656B5 #2371E5

Accessibility & contrast

On white

10.67
#0F3C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#0F3C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3C7E
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3C7E#FFFFFF#000000##FFFFFF
##0F3C7E1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114380
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f3c7e;
/* rgb */ color: rgb(15, 60, 126);
/* oklch */ color: oklch(36.8% 0.122 258.8);
Tailwind
colors: {
  custom: {
    50: '#6471a4',
    500: '#0f3c7e',
    950: '#000000',
  },
}
SCSS
$custom: #0f3c7e;
$custom-light: #6471a4;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3c7e",
  "rgb": {
    "r": 15,
    "g": 60,
    "b": 126
  },
  "hsl": {
    "h": 215.676,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36825,
    "c": 0.12195,
    "h": 258.8
  },
  "luminance": 0.0484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0F3C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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