#0F2863#0F2863

#0F2863 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.9% C 0.109 H 263.7°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#0F2863
RGBrgb(15, 40, 99)
HSLhsl(222, 74%, 22%)
HSVhsv(222, 85%, 39%)
CMYKcmyk(84.8%, 59.6%, 0%, 61.2%)
CIE-LABlab(18.01, 14.99, -37.57)
CIE-LCHlch(18.01, 40.45, 291.75°)
OKLaboklab(29.85% -0.0119 -0.1085)
OKLCHoklch(29.85% 0.109 263.7)
XYZxyz(3.2071, 2.5196, 12.1193)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2863 #634A0F
analogous
#0F5263 #0F2863 #200F63
triadic
#0F2863 #630F28 #28630F
tetradic
#0F2863 #630F52 #634A0F #0F6320
square
#0F2863 #630F52 #634A0F #0F6320
split-complementary
#0F2863 #63200F #52630F
monochromatic
#040B1B #07132E #0F2863 #173D98 #1F53CD

Accessibility & contrast

On white

13.96
#0F2863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2863
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2863#FFFFFF#000000##FFFFFF
##0F28631.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2863;
/* rgb */ color: rgb(15, 40, 99);
/* oklch */ color: oklch(29.9% 0.109 263.7);
Tailwind
colors: {
  custom: {
    50: '#5d6190',
    500: '#0f2863',
    950: '#000000',
  },
}
SCSS
$custom: #0f2863;
$custom-light: #5d6190;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2863",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 99
  },
  "hsl": {
    "h": 222.143,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29854,
    "c": 0.10913,
    "h": 263.7
  },
  "luminance": 0.0252
}

Semantic roles & 50–950 ramp

primary
#0F2863
secondary
#9C7C32
accent
#B937F0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F2863

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

Preview Lab → · Contrast checker → · Palette generator →

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