#0F2962#0F2962

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

Color values

HEX#0F2962
RGBrgb(15, 41, 98)
HSLhsl(221, 73%, 22%)
HSVhsv(221, 85%, 38%)
CMYKcmyk(84.7%, 58.2%, 0%, 61.6%)
CIE-LABlab(18.23, 13.81, -36.56)
CIE-LCHlch(18.23, 39.08, 290.70°)
OKLaboklab(29.99% -0.0128 -0.1055)
OKLCHoklch(29.99% 0.106 263.1)
XYZxyz(3.1938, 2.5689, 11.8804)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2962 #62480F
analogous
#0F5362 #0F2962 #1F0F62
triadic
#0F2962 #620F29 #29620F
tetradic
#0F2962 #620F53 #62480F #0F621F
square
#0F2962 #620F53 #62480F #0F621F
split-complementary
#0F2962 #621F0F #53620F
monochromatic
#040B1B #07132D #0F2962 #173F97 #1F55CC

Accessibility & contrast

On white

13.87
#0F2962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2962
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2962#FFFFFF#000000##FFFFFF
##0F29621.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003064
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2962;
/* rgb */ color: rgb(15, 41, 98);
/* oklch */ color: oklch(30.0% 0.106 263.1);
Tailwind
colors: {
  custom: {
    50: '#5d628f',
    500: '#0f2962',
    950: '#000000',
  },
}
SCSS
$custom: #0f2962;
$custom-light: #5d628f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2962",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 98
  },
  "hsl": {
    "h": 221.205,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29993,
    "c": 0.10624,
    "h": 263.1
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#0F2962
secondary
#9B7A32
accent
#B638F0
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F2962

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

Preview Lab → · Contrast checker → · Palette generator →

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