#0F2660#0F2660

#0F2660 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.107 H 264.3°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#0F2660
RGBrgb(15, 38, 96)
HSLhsl(223, 73%, 22%)
HSVhsv(223, 84%, 38%)
CMYKcmyk(84.4%, 60.4%, 0%, 62.4%)
CIE-LABlab(17.14, 15.18, -37.00)
CIE-LCHlch(17.14, 39.99, 292.30°)
OKLaboklab(29.12% -0.0106 -0.1068)
OKLCHoklch(29.12% 0.107 264.3)
XYZxyz(3.0007, 2.3320, 11.3560)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2660 #60490F
analogous
#0F4F60 #0F2660 #210F60
triadic
#0F2660 #600F26 #26600F
tetradic
#0F2660 #600F4F #60490F #0F6021
square
#0F2660 #600F4F #60490F #0F6021
split-complementary
#0F2660 #60210F #4F600F
monochromatic
#040A1A #07112B #0F2660 #173B95 #2050CA

Accessibility & contrast

On white

14.32
#0F2660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2660
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2660#FFFFFF#000000##FFFFFF
##0F26601.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E62
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#00343F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2660;
/* rgb */ color: rgb(15, 38, 96);
/* oklch */ color: oklch(29.1% 0.107 264.3);
Tailwind
colors: {
  custom: {
    50: '#5d5f8e',
    500: '#0f2660',
    950: '#000000',
  },
}
SCSS
$custom: #0f2660;
$custom-light: #5d5f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2660",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 96
  },
  "hsl": {
    "h": 222.963,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29119,
    "c": 0.10736,
    "h": 264.3
  },
  "luminance": 0.02332
}

Semantic roles & 50–950 ramp

primary
#0F2660
secondary
#997C32
accent
#BC38F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F2660

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

Preview Lab → · Contrast checker → · Palette generator →

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