#0F2B61#0F2B61

#0F2B61 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.102 H 261.8°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#0F2B61
RGBrgb(15, 43, 97)
HSLhsl(220, 73%, 22%)
HSVhsv(220, 85%, 38%)
CMYKcmyk(84.5%, 55.7%, 0%, 62%)
CIE-LABlab(18.77, 11.90, -35.03)
CIE-LCHlch(18.77, 36.99, 288.76°)
OKLaboklab(30.38% -0.0145 -0.1009)
OKLCHoklch(30.38% 0.102 261.8)
XYZxyz(3.2178, 2.6920, 11.6570)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B61 #61450F
analogous
#0F5461 #0F2B61 #1C0F61
triadic
#0F2B61 #610F2B #2B610F
tetradic
#0F2B61 #610F54 #61450F #0F611C
square
#0F2B61 #610F54 #61450F #0F611C
split-complementary
#0F2B61 #611C0F #54610F
monochromatic
#040C1B #07142C #0F2B61 #174296 #1F5ACB

Accessibility & contrast

On white

13.65
#0F2B61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0F2B61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B61
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B61#FFFFFF#000000##FFFFFF
##0F2B611.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053263
Deuteranopia (green-blind)
#002A60
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2b61;
/* rgb */ color: rgb(15, 43, 97);
/* oklch */ color: oklch(30.4% 0.102 261.8);
Tailwind
colors: {
  custom: {
    50: '#5d638e',
    500: '#0f2b61',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b61;
$custom-light: #5d638e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b61",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 97
  },
  "hsl": {
    "h": 219.512,
    "s": 73.214,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30376,
    "c": 0.10196,
    "h": 261.8
  },
  "luminance": 0.02692
}

Semantic roles & 50–950 ramp

primary
#0F2B61
secondary
#9A7632
accent
#B138F0
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F2B61

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

Preview Lab → · Contrast checker → · Palette generator →

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