#0F2B5A#0F2B5A

#0F2B5A is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.091 H 260.2°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#0F2B5A
RGBrgb(15, 43, 90)
HSLhsl(218, 71%, 21%)
HSVhsv(218, 83%, 35%)
CMYKcmyk(83.3%, 52.2%, 0%, 64.7%)
CIE-LABlab(18.22, 8.84, -31.28)
CIE-LCHlch(18.22, 32.50, 285.79°)
OKLaboklab(29.79% -0.0156 -0.0899)
OKLCHoklch(29.79% 0.091 260.2)
XYZxyz(2.9057, 2.5672, 10.0132)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B5A #5A3E0F
analogous
#0F505A #0F2B5A #180F5A
triadic
#0F2B5A #5A0F2B #2B5A0F
tetradic
#0F2B5A #5A0F50 #5A3E0F #0F5A18
square
#0F2B5A #5A0F50 #5A3E0F #0F5A18
split-complementary
#0F2B5A #5A180F #505A0F
monochromatic
#040D1A #061226 #0F2B5A #18448E #205DC3

Accessibility & contrast

On white

13.88
#0F2B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0F2B5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B5A
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B5A#FFFFFF#000000##FFFFFF
##0F2B5A1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10305C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2b5a;
/* rgb */ color: rgb(15, 43, 90);
/* oklch */ color: oklch(29.8% 0.091 260.2);
Tailwind
colors: {
  custom: {
    50: '#5b6389',
    500: '#0f2b5a',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b5a;
$custom-light: #5b6389;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b5a",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 90
  },
  "hsl": {
    "h": 217.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29785,
    "c": 0.09122,
    "h": 260.2
  },
  "luminance": 0.02567
}

Semantic roles & 50–950 ramp

primary
#0F2B5A
secondary
#946F31
accent
#AB3AEE
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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