#0F3B7D#0F3B7D

#0F3B7D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.5% C 0.122 H 259.1°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#0F3B7D
RGBrgb(15, 59, 125)
HSLhsl(216, 79%, 27%)
HSVhsv(216, 88%, 49%)
CMYKcmyk(88%, 52.8%, 0%, 51%)
CIE-LABlab(25.89, 12.38, -41.50)
CIE-LCHlch(25.89, 43.31, 286.61°)
OKLaboklab(36.51% -0.0231 -0.1196)
OKLCHoklch(36.51% 0.122 259.1)
XYZxyz(5.4613, 4.7095, 20.0192)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3B7D #7D510F
analogous
#0F727D #0F3B7D #1A0F7D
triadic
#0F3B7D #7D0F3B #3B7D0F
tetradic
#0F3B7D #7D0F72 #7D510F #0F7D1A
square
#0F3B7D #7D0F72 #7D510F #0F7D1A
split-complementary
#0F3B7D #7D1A0F #727D0F
monochromatic
#030D1B #082146 #0F3B7D #1655B4 #2270E4

Accessibility & contrast

On white

10.81
#0F3B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#0F3B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3B7D
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3B7D#FFFFFF#000000##FFFFFF
##0F3B7D1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F427F
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0f3b7d;
/* rgb */ color: rgb(15, 59, 125);
/* oklch */ color: oklch(36.5% 0.122 259.1);
Tailwind
colors: {
  custom: {
    50: '#6470a3',
    500: '#0f3b7d',
    950: '#000000',
  },
}
SCSS
$custom: #0f3b7d;
$custom-light: #6470a3;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3b7d",
  "rgb": {
    "r": 15,
    "g": 59,
    "b": 125
  },
  "hsl": {
    "h": 216,
    "s": 78.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3651,
    "c": 0.12182,
    "h": 259.1
  },
  "luminance": 0.0471
}

Semantic roles & 50–950 ramp

primary
#0F3B7D
secondary
#B48134
accent
#A733F5
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #0F3B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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