#0F2A61#0F2A61

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

Color values

HEX#0F2A61
RGBrgb(15, 42, 97)
HSLhsl(220, 73%, 22%)
HSVhsv(220, 85%, 38%)
CMYKcmyk(84.5%, 56.7%, 0%, 62%)
CIE-LABlab(18.45, 12.64, -35.53)
CIE-LCHlch(18.45, 37.71, 289.58°)
OKLaboklab(30.14% -0.0137 -0.1024)
OKLCHoklch(30.14% 0.103 262.4)
XYZxyz(3.1819, 2.6202, 11.6450)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A61 #61460F
analogous
#0F5361 #0F2A61 #1D0F61
triadic
#0F2A61 #610F2A #2A610F
tetradic
#0F2A61 #610F53 #61460F #0F611D
square
#0F2A61 #610F53 #61460F #0F611D
split-complementary
#0F2A61 #611D0F #53610F
monochromatic
#040B1B #07132C #0F2A61 #174196 #1F58CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F2A61#FFFFFF#000000##FFFFFF
##0F2A611.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)
#023163
Deuteranopia (green-blind)
#002960
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2a61;
/* rgb */ color: rgb(15, 42, 97);
/* oklch */ color: oklch(30.1% 0.103 262.4);
Tailwind
colors: {
  custom: {
    50: '#5d638e',
    500: '#0f2a61',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a61;
$custom-light: #5d638e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a61",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 97
  },
  "hsl": {
    "h": 220.244,
    "s": 73.214,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30139,
    "c": 0.10333,
    "h": 262.4
  },
  "luminance": 0.02621
}

Semantic roles & 50–950 ramp

primary
#0F2A61
secondary
#9A7832
accent
#B338F0
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F2A61

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

Preview Lab → · Contrast checker → · Palette generator →

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