#0F2F6A#0F2F6A

#0F2F6A is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.110 H 261.3°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#0F2F6A
RGBrgb(15, 47, 106)
HSLhsl(219, 75%, 24%)
HSVhsv(219, 86%, 42%)
CMYKcmyk(85.8%, 55.7%, 0%, 58.4%)
CIE-LABlab(20.73, 12.86, -37.72)
CIE-LCHlch(20.73, 39.86, 288.82°)
OKLaboklab(32.1% -0.0166 -0.1088)
OKLCHoklch(32.1% 0.11 261.3)
XYZxyz(3.8141, 3.1747, 14.0446)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F6A #6A4A0F
analogous
#0F5C6A #0F2F6A #1C0F6A
triadic
#0F2F6A #6A0F2F #2F6A0F
tetradic
#0F2F6A #6A0F5C #6A4A0F #0F6A1C
square
#0F2F6A #6A0F5C #6A4A0F #0F6A1C
split-complementary
#0F2F6A #6A1C0F #5C6A0F
monochromatic
#040C1B #071734 #0F2F6A #1747A0 #1E5FD5

Accessibility & contrast

On white

12.84
#0F2F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#0F2F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F6A
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F6A#FFFFFF#000000##FFFFFF
##0F2F6A1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04366C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0f2f6a;
/* rgb */ color: rgb(15, 47, 106);
/* oklch */ color: oklch(32.1% 0.110 261.3);
Tailwind
colors: {
  custom: {
    50: '#5f6695',
    500: '#0f2f6a',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f6a;
$custom-light: #5f6695;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f6a",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 218.901,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32101,
    "c": 0.11002,
    "h": 261.3
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

primary
#0F2F6A
secondary
#A27B32
accent
#B036F2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #0F2F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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