#0F3C7F#0F3C7F

#0F3C7F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 36.9% C 0.123 H 259.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#0F3C7F
RGBrgb(15, 60, 127)
HSLhsl(216, 79%, 28%)
HSVhsv(216, 88%, 50%)
CMYKcmyk(88.2%, 52.8%, 0%, 50.2%)
CIE-LABlab(26.35, 12.52, -42.02)
CIE-LCHlch(26.35, 43.85, 286.59°)
OKLaboklab(36.91% -0.0236 -0.1211)
OKLCHoklch(36.91% 0.123 259)
XYZxyz(5.6422, 4.8649, 20.7162)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3C7F #7F520F
analogous
#0F747F #0F3C7F #1A0F7F
triadic
#0F3C7F #7F0F3C #3C7F0F
tetradic
#0F3C7F #7F0F74 #7F520F #0F7F1A
square
#0F3C7F #7F0F74 #7F520F #0F7F1A
split-complementary
#0F3C7F #7F1A0F #747F0F
monochromatic
#030D1B #092248 #0F3C7F #1556B6 #2371E5

Accessibility & contrast

On white

10.64
#0F3C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F3C7F
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3C7F#FFFFFF#000000##FFFFFF
##0F3C7F1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4481
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f3c7f;
/* rgb */ color: rgb(15, 60, 127);
/* oklch */ color: oklch(36.9% 0.123 259.0);
Tailwind
colors: {
  custom: {
    50: '#6471a5',
    500: '#0f3c7f',
    950: '#000000',
  },
}
SCSS
$custom: #0f3c7f;
$custom-light: #6471a5;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3c7f",
  "rgb": {
    "r": 15,
    "g": 60,
    "b": 127
  },
  "hsl": {
    "h": 215.893,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36907,
    "c": 0.12338,
    "h": 259
  },
  "luminance": 0.04866
}

Semantic roles & 50–950 ramp

primary
#0F3C7F
secondary
#B58234
accent
#A732F5
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #0F3C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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