#0F2A5B#0F2A5B

#0F2A5B is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.094 H 261.1°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#0F2A5B
RGBrgb(15, 42, 91)
HSLhsl(219, 72%, 21%)
HSVhsv(219, 84%, 36%)
CMYKcmyk(83.5%, 53.8%, 0%, 64.3%)
CIE-LABlab(17.98, 10.02, -32.34)
CIE-LCHlch(17.98, 33.85, 287.22°)
OKLaboklab(29.62% -0.0145 -0.093)
OKLCHoklch(29.62% 0.094 261.1)
XYZxyz(2.9126, 2.5125, 10.2270)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A5B #5B400F
analogous
#0F505B #0F2A5B #1A0F5B
triadic
#0F2A5B #5B0F2A #2A5B0F
tetradic
#0F2A5B #5B0F50 #5B400F #0F5B1A
square
#0F2A5B #5B0F50 #5B400F #0F5B1A
split-complementary
#0F2A5B #5B1A0F #505B0F
monochromatic
#040C1A #061226 #0F2A5B #184290 #205AC4

Accessibility & contrast

On white

13.98
#0F2A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0F2A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A5B
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A5B#FFFFFF#000000##FFFFFF
##0F2A5B1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C305D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2a5b;
/* rgb */ color: rgb(15, 42, 91);
/* oklch */ color: oklch(29.6% 0.094 261.1);
Tailwind
colors: {
  custom: {
    50: '#5b638a',
    500: '#0f2a5b',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a5b;
$custom-light: #5b638a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a5b",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 218.684,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29622,
    "c": 0.09414,
    "h": 261.1
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#0F2A5B
secondary
#957131
accent
#AE39EE
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0F2A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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