#0F346A#0F346A

#0F346A is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.3% C 0.103 H 258.5°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#0F346A
RGBrgb(15, 52, 106)
HSLhsl(216, 75%, 24%)
HSVhsv(216, 86%, 42%)
CMYKcmyk(85.8%, 50.9%, 0%, 58.4%)
CIE-LABlab(22.29, 9.23, -35.20)
CIE-LCHlch(22.29, 36.39, 284.69°)
OKLaboklab(33.3% -0.0207 -0.1012)
OKLCHoklch(33.3% 0.103 258.5)
XYZxyz(4.0256, 3.5977, 14.1151)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F346A #6A450F
analogous
#0F616A #0F346A #170F6A
triadic
#0F346A #6A0F34 #346A0F
tetradic
#0F346A #6A0F61 #6A450F #0F6A17
square
#0F346A #6A0F61 #6A450F #0F6A17
split-complementary
#0F346A #6A170F #616A0F
monochromatic
#040D1B #071A34 #0F346A #174EA0 #1E69D5

Accessibility & contrast

On white

12.21
#0F346A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#0F346A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F346A
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F346A#FFFFFF#000000##FFFFFF
##0F346A1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153A6C
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0f346a;
/* rgb */ color: rgb(15, 52, 106);
/* oklch */ color: oklch(33.3% 0.103 258.5);
Tailwind
colors: {
  custom: {
    50: '#5f6a95',
    500: '#0f346a',
    950: '#000000',
  },
}
SCSS
$custom: #0f346a;
$custom-light: #5f6a95;
$custom-dark: #000000;
JSON
{
  "hex": "#0f346a",
  "rgb": {
    "r": 15,
    "g": 52,
    "b": 106
  },
  "hsl": {
    "h": 215.604,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33297,
    "c": 0.10331,
    "h": 258.5
  },
  "luminance": 0.03598
}

Semantic roles & 50–950 ramp

primary
#0F346A
secondary
#A27532
accent
#A536F2
background
#F5F6F9
surface
#EAEBF2
border
#C6C6CC
text
#05060D
muted
#797A7E

Preview Lab

Preview with #0F346A

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

Preview Lab → · Contrast checker → · Palette generator →

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