#0F3B7F#0F3B7F

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

Color values

HEX#0F3B7F
RGBrgb(15, 59, 127)
HSLhsl(216, 79%, 28%)
HSVhsv(216, 88%, 50%)
CMYKcmyk(88.2%, 53.5%, 0%, 50.2%)
CIE-LABlab(26.04, 13.23, -42.51)
CIE-LCHlch(26.04, 44.52, 287.28°)
OKLaboklab(36.68% -0.0228 -0.1226)
OKLCHoklch(36.68% 0.125 259.4)
XYZxyz(5.5903, 4.7611, 20.6989)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3B7F #7F530F
analogous
#0F737F #0F3B7F #1B0F7F
triadic
#0F3B7F #7F0F3B #3B7F0F
tetradic
#0F3B7F #7F0F73 #7F530F #0F7F1B
square
#0F3B7F #7F0F73 #7F530F #0F7F1B
split-complementary
#0F3B7F #7F1B0F #737F0F
monochromatic
#030D1B #092248 #0F3B7F #1554B6 #236FE5

Accessibility & contrast

On white

10.76
#0F3B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#0F3B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3B7F
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3B7F#FFFFFF#000000##FFFFFF
##0F3B7F1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4381
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f3b7f;
/* rgb */ color: rgb(15, 59, 127);
/* oklch */ color: oklch(36.7% 0.125 259.4);
Tailwind
colors: {
  custom: {
    50: '#6470a5',
    500: '#0f3b7f',
    950: '#000000',
  },
}
SCSS
$custom: #0f3b7f;
$custom-light: #6470a5;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3b7f",
  "rgb": {
    "r": 15,
    "g": 59,
    "b": 127
  },
  "hsl": {
    "h": 216.429,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36675,
    "c": 0.12469,
    "h": 259.4
  },
  "luminance": 0.04762
}

Semantic roles & 50–950 ramp

primary
#0F3B7F
secondary
#B58334
accent
#A932F5
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #0F3B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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