#0F2A6A#0F2A6A

#0F2A6A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.117 H 263.7°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#0F2A6A
RGBrgb(15, 42, 106)
HSLhsl(222, 75%, 24%)
HSVhsv(222, 86%, 42%)
CMYKcmyk(85.8%, 60.4%, 0%, 58.4%)
CIE-LABlab(19.21, 16.52, -40.19)
CIE-LCHlch(19.21, 43.45, 292.35°)
OKLaboklab(30.95% -0.0129 -0.1161)
OKLCHoklch(30.95% 0.117 263.7)
XYZxyz(3.6256, 2.7977, 13.9818)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A6A #6A4F0F
analogous
#0F576A #0F2A6A #210F6A
triadic
#0F2A6A #6A0F2A #2A6A0F
tetradic
#0F2A6A #6A0F57 #6A4F0F #0F6A21
square
#0F2A6A #6A0F57 #6A4F0F #0F6A21
split-complementary
#0F2A6A #6A210F #576A0F
monochromatic
#040B1B #071534 #0F2A6A #173FA0 #1E54D5

Accessibility & contrast

On white

13.46
#0F2A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#0F2A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A6A
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A6A#FFFFFF#000000##FFFFFF
##0F2A6A1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2a6a;
/* rgb */ color: rgb(15, 42, 106);
/* oklch */ color: oklch(31.0% 0.117 263.7);
Tailwind
colors: {
  custom: {
    50: '#5f6395',
    500: '#0f2a6a',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a6a;
$custom-light: #5f6395;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a6a",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 106
  },
  "hsl": {
    "h": 222.198,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30953,
    "c": 0.11683,
    "h": 263.7
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#0F2A6A
secondary
#A28132
accent
#BA36F2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#05050D
muted
#7A797E

Preview Lab

Preview with #0F2A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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