#0F2963#0F2963

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

Color values

HEX#0F2963
RGBrgb(15, 41, 99)
HSLhsl(221, 74%, 22%)
HSVhsv(221, 85%, 39%)
CMYKcmyk(84.8%, 58.6%, 0%, 61.2%)
CIE-LABlab(18.31, 14.25, -37.08)
CIE-LCHlch(18.31, 39.72, 291.02°)
OKLaboklab(30.08% -0.0127 -0.107)
OKLCHoklch(30.08% 0.108 263.2)
XYZxyz(3.2413, 2.5879, 12.1306)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2963 #63490F
analogous
#0F5363 #0F2963 #1F0F63
triadic
#0F2963 #630F29 #29630F
tetradic
#0F2963 #630F53 #63490F #0F631F
square
#0F2963 #630F53 #63490F #0F631F
split-complementary
#0F2963 #631F0F #53630F
monochromatic
#040B1B #07132E #0F2963 #173F98 #1F55CD

Accessibility & contrast

On white

13.84
#0F2963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2963
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2963#FFFFFF#000000##FFFFFF
##0F29631.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2963;
/* rgb */ color: rgb(15, 41, 99);
/* oklch */ color: oklch(30.1% 0.108 263.2);
Tailwind
colors: {
  custom: {
    50: '#5d6290',
    500: '#0f2963',
    950: '#000000',
  },
}
SCSS
$custom: #0f2963;
$custom-light: #5d6290;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2963",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 99
  },
  "hsl": {
    "h": 221.429,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30083,
    "c": 0.10774,
    "h": 263.2
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#0F2963
secondary
#9C7B32
accent
#B737F0
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F2963

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

Preview Lab → · Contrast checker → · Palette generator →

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