#0F2B5D#0F2B5D

#0F2B5D is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.096 H 260.9°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#0F2B5D
RGBrgb(15, 43, 93)
HSLhsl(218, 72%, 21%)
HSVhsv(218, 84%, 36%)
CMYKcmyk(83.9%, 53.8%, 0%, 63.5%)
CIE-LABlab(18.45, 10.15, -32.90)
CIE-LCHlch(18.45, 34.43, 287.15°)
OKLaboklab(30.03% -0.0151 -0.0946)
OKLCHoklch(30.03% 0.096 260.9)
XYZxyz(3.0359, 2.6193, 10.6994)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B5D #5D410F
analogous
#0F525D #0F2B5D #1A0F5D
triadic
#0F2B5D #5D0F2B #2B5D0F
tetradic
#0F2B5D #5D0F52 #5D410F #0F5D1A
square
#0F2B5D #5D0F52 #5D410F #0F5D1A
split-complementary
#0F2B5D #5D1A0F #525D0F
monochromatic
#040C1A #061328 #0F2B5D #174392 #205CC6

Accessibility & contrast

On white

13.78
#0F2B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0F2B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B5D
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B5D#FFFFFF#000000##FFFFFF
##0F2B5D1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C315F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2b5d;
/* rgb */ color: rgb(15, 43, 93);
/* oklch */ color: oklch(30.0% 0.096 260.9);
Tailwind
colors: {
  custom: {
    50: '#5b638b',
    500: '#0f2b5d',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b5d;
$custom-light: #5b638b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b5d",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 218.462,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30034,
    "c": 0.09585,
    "h": 260.9
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#0F2B5D
secondary
#967231
accent
#AE39EF
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0F2B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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