#0F2663#0F2663

#0F2663 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.112 H 264.6°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#0F2663
RGBrgb(15, 38, 99)
HSLhsl(224, 74%, 22%)
HSVhsv(224, 85%, 39%)
CMYKcmyk(84.8%, 61.6%, 0%, 61.2%)
CIE-LABlab(17.41, 16.47, -38.55)
CIE-LCHlch(17.41, 41.92, 293.13°)
OKLaboklab(29.4% -0.0105 -0.1114)
OKLCHoklch(29.4% 0.112 264.6)
XYZxyz(3.1414, 2.3883, 12.0974)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2663 #634C0F
analogous
#0F5063 #0F2663 #220F63
triadic
#0F2663 #630F26 #26630F
tetradic
#0F2663 #630F50 #634C0F #0F6322
square
#0F2663 #630F50 #634C0F #0F6322
split-complementary
#0F2663 #63220F #50630F
monochromatic
#040A1B #07122E #0F2663 #173A98 #1F4FCD

Accessibility & contrast

On white

14.21
#0F2663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0F2663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2663
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2663#FFFFFF#000000##FFFFFF
##0F26631.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F65
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#003540
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2663;
/* rgb */ color: rgb(15, 38, 99);
/* oklch */ color: oklch(29.4% 0.112 264.6);
Tailwind
colors: {
  custom: {
    50: '#5e5f90',
    500: '#0f2663',
    950: '#000000',
  },
}
SCSS
$custom: #0f2663;
$custom-light: #5e5f90;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2663",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 99
  },
  "hsl": {
    "h": 223.571,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29401,
    "c": 0.11187,
    "h": 264.6
  },
  "luminance": 0.02389
}

Semantic roles & 50–950 ramp

primary
#0F2663
secondary
#9C7F32
accent
#BE37F0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F2663

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

Preview Lab → · Contrast checker → · Palette generator →

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