#0F2B6A#0F2B6A

#0F2B6A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.115 H 263.2°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#0F2B6A
RGBrgb(15, 43, 106)
HSLhsl(222, 75%, 24%)
HSVhsv(222, 86%, 42%)
CMYKcmyk(85.8%, 59.4%, 0%, 58.4%)
CIE-LABlab(19.51, 15.79, -39.70)
CIE-LCHlch(19.51, 42.73, 291.69°)
OKLaboklab(31.18% -0.0136 -0.1147)
OKLCHoklch(31.18% 0.115 263.2)
XYZxyz(3.6615, 2.8695, 13.9938)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B6A #6A4E0F
analogous
#0F586A #0F2B6A #200F6A
triadic
#0F2B6A #6A0F2B #2B6A0F
tetradic
#0F2B6A #6A0F58 #6A4E0F #0F6A20
square
#0F2B6A #6A0F58 #6A4E0F #0F6A20
split-complementary
#0F2B6A #6A200F #586A0F
monochromatic
#040B1B #071534 #0F2B6A #1741A0 #1E56D5

Accessibility & contrast

On white

13.34
#0F2B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#0F2B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B6A
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B6A#FFFFFF#000000##FFFFFF
##0F2B6A1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2b6a;
/* rgb */ color: rgb(15, 43, 106);
/* oklch */ color: oklch(31.2% 0.115 263.2);
Tailwind
colors: {
  custom: {
    50: '#5f6395',
    500: '#0f2b6a',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b6a;
$custom-light: #5f6395;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b6a",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 106
  },
  "hsl": {
    "h": 221.538,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31178,
    "c": 0.11547,
    "h": 263.2
  },
  "luminance": 0.0287
}

Semantic roles & 50–950 ramp

primary
#0F2B6A
secondary
#A28032
accent
#B836F2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#05050D
muted
#7A797E

Preview Lab

Preview with #0F2B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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