#0F3A7F#0F3A7F

#0F3A7F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.4% C 0.126 H 259.9°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#0F3A7F
RGBrgb(15, 58, 127)
HSLhsl(217, 79%, 28%)
HSVhsv(217, 88%, 50%)
CMYKcmyk(88.2%, 54.3%, 0%, 50.2%)
CIE-LABlab(25.74, 13.94, -43.00)
CIE-LCHlch(25.74, 45.20, 287.96°)
OKLaboklab(36.44% -0.0221 -0.124)
OKLCHoklch(36.44% 0.126 259.9)
XYZxyz(5.5394, 4.6593, 20.6819)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3A7F #7F540F
analogous
#0F727F #0F3A7F #1C0F7F
triadic
#0F3A7F #7F0F3A #3A7F0F
tetradic
#0F3A7F #7F0F72 #7F540F #0F7F1C
square
#0F3A7F #7F0F72 #7F540F #0F7F1C
split-complementary
#0F3A7F #7F1C0F #727F0F
monochromatic
#030C1B #092148 #0F3A7F #1553B6 #236EE5

Accessibility & contrast

On white

10.87
#0F3A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#0F3A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3A7F
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3A7F#FFFFFF#000000##FFFFFF
##0F3A7F1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064281
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0f3a7f;
/* rgb */ color: rgb(15, 58, 127);
/* oklch */ color: oklch(36.4% 0.126 259.9);
Tailwind
colors: {
  custom: {
    50: '#646fa5',
    500: '#0f3a7f',
    950: '#000000',
  },
}
SCSS
$custom: #0f3a7f;
$custom-light: #646fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3a7f",
  "rgb": {
    "r": 15,
    "g": 58,
    "b": 127
  },
  "hsl": {
    "h": 216.964,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36444,
    "c": 0.126,
    "h": 259.9
  },
  "luminance": 0.0466
}

Semantic roles & 50–950 ramp

primary
#0F3A7F
secondary
#B58434
accent
#AB32F5
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #0F3A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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