#0F2662#0F2662

#0F2662 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.110 H 264.5°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#0F2662
RGBrgb(15, 38, 98)
HSLhsl(223, 73%, 22%)
HSVhsv(223, 85%, 38%)
CMYKcmyk(84.7%, 61.2%, 0%, 61.6%)
CIE-LABlab(17.32, 16.04, -38.04)
CIE-LCHlch(17.32, 41.28, 292.86°)
OKLaboklab(29.31% -0.0105 -0.1099)
OKLCHoklch(29.31% 0.11 264.5)
XYZxyz(3.0939, 2.3693, 11.8472)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2662 #624B0F
analogous
#0F5062 #0F2662 #210F62
triadic
#0F2662 #620F26 #26620F
tetradic
#0F2662 #620F50 #624B0F #0F6221
square
#0F2662 #620F50 #624B0F #0F6221
split-complementary
#0F2662 #62210F #50620F
monochromatic
#040A1B #07112D #0F2662 #173B97 #1F4FCC

Accessibility & contrast

On white

14.25
#0F2662 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0F2662 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2662
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2662#FFFFFF#000000##FFFFFF
##0F26621.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2662;
/* rgb */ color: rgb(15, 38, 98);
/* oklch */ color: oklch(29.3% 0.110 264.5);
Tailwind
colors: {
  custom: {
    50: '#5d5f8f',
    500: '#0f2662',
    950: '#000000',
  },
}
SCSS
$custom: #0f2662;
$custom-light: #5d5f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2662",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 98
  },
  "hsl": {
    "h": 223.373,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29307,
    "c": 0.11037,
    "h": 264.5
  },
  "luminance": 0.0237
}

Semantic roles & 50–950 ramp

primary
#0F2662
secondary
#9B7E32
accent
#BD38F0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F2662

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

Preview Lab → · Contrast checker → · Palette generator →

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