#0F2966#0F2966

#0F2966 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.4% C 0.112 H 263.6°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#0F2966
RGBrgb(15, 41, 102)
HSLhsl(222, 74%, 23%)
HSVhsv(222, 85%, 40%)
CMYKcmyk(85.3%, 59.8%, 0%, 60%)
CIE-LABlab(18.57, 15.54, -38.63)
CIE-LCHlch(18.57, 41.64, 291.92°)
OKLaboklab(30.36% -0.0125 -0.1115)
OKLCHoklch(30.36% 0.112 263.6)
XYZxyz(3.3874, 2.6463, 12.9001)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2966 #664C0F
analogous
#0F5466 #0F2966 #200F66
triadic
#0F2966 #660F29 #29660F
tetradic
#0F2966 #660F54 #664C0F #0F6620
square
#0F2966 #660F54 #664C0F #0F6620
split-complementary
#0F2966 #66200F #54660F
monochromatic
#040B1B #071431 #0F2966 #173E9B #1F54D1

Accessibility & contrast

On white

13.73
#0F2966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0F2966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2966
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2966#FFFFFF#000000##FFFFFF
##0F29661.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003168
Deuteranopia (green-blind)
#002965
Tritanopia (blue-blind)
#003843
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2966;
/* rgb */ color: rgb(15, 41, 102);
/* oklch */ color: oklch(30.4% 0.112 263.6);
Tailwind
colors: {
  custom: {
    50: '#5e6292',
    500: '#0f2966',
    950: '#000000',
  },
}
SCSS
$custom: #0f2966;
$custom-light: #5e6292;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2966",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 102
  },
  "hsl": {
    "h": 222.069,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30358,
    "c": 0.11224,
    "h": 263.6
  },
  "luminance": 0.02647
}

Semantic roles & 50–950 ramp

primary
#0F2966
secondary
#9F7E32
accent
#B937F1
background
#F5F5F9
surface
#EAEAF1
border
#C6C6CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #0F2966

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

Preview Lab → · Contrast checker → · Palette generator →

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