#0F3B7E#0F3B7E

#0F3B7E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.6% C 0.123 H 259.3°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#0F3B7E
RGBrgb(15, 59, 126)
HSLhsl(216, 79%, 28%)
HSVhsv(216, 88%, 49%)
CMYKcmyk(88.1%, 53.2%, 0%, 50.6%)
CIE-LABlab(25.97, 12.80, -42.01)
CIE-LCHlch(25.97, 43.91, 286.95°)
OKLaboklab(36.59% -0.023 -0.1211)
OKLCHoklch(36.59% 0.123 259.3)
XYZxyz(5.5255, 4.7351, 20.3574)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3B7E #7E520F
analogous
#0F727E #0F3B7E #1A0F7E
triadic
#0F3B7E #7E0F3B #3B7E0F
tetradic
#0F3B7E #7E0F72 #7E520F #0F7E1A
square
#0F3B7E #7E0F72 #7E520F #0F7E1A
split-complementary
#0F3B7E #7E1A0F #727E0F
monochromatic
#030D1B #082147 #0F3B7E #1655B5 #2370E5

Accessibility & contrast

On white

10.78
#0F3B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F3B7E
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3B7E#FFFFFF#000000##FFFFFF
##0F3B7E1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f3b7e;
/* rgb */ color: rgb(15, 59, 126);
/* oklch */ color: oklch(36.6% 0.123 259.3);
Tailwind
colors: {
  custom: {
    50: '#6470a4',
    500: '#0f3b7e',
    950: '#000000',
  },
}
SCSS
$custom: #0f3b7e;
$custom-light: #6470a4;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3b7e",
  "rgb": {
    "r": 15,
    "g": 59,
    "b": 126
  },
  "hsl": {
    "h": 216.216,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36592,
    "c": 0.12325,
    "h": 259.3
  },
  "luminance": 0.04736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0F3B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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