#0F2260#0F2260

#0F2260 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.2% C 0.113 H 266.1°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#0F2260
RGBrgb(15, 34, 96)
HSLhsl(226, 73%, 22%)
HSVhsv(226, 84%, 38%)
CMYKcmyk(84.4%, 64.6%, 0%, 62.4%)
CIE-LABlab(15.95, 18.15, -38.94)
CIE-LCHlch(15.95, 42.96, 294.99°)
OKLaboklab(28.23% -0.0077 -0.1126)
OKLCHoklch(28.23% 0.113 266.1)
XYZxyz(2.8796, 2.0898, 11.3157)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2260 #604D0F
analogous
#0F4B60 #0F2260 #250F60
triadic
#0F2260 #600F22 #22600F
tetradic
#0F2260 #600F4B #604D0F #0F6025
square
#0F2260 #600F4B #604D0F #0F6025
split-complementary
#0F2260 #60250F #4B600F
monochromatic
#04091A #070F2B #0F2260 #173595 #2047CA

Accessibility & contrast

On white

14.81
#0F2260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0F2260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2260
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2260#FFFFFF#000000##FFFFFF
##0F22601.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#00245F
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2260;
/* rgb */ color: rgb(15, 34, 96);
/* oklch */ color: oklch(28.2% 0.113 266.1);
Tailwind
colors: {
  custom: {
    50: '#5d5c8e',
    500: '#0f2260',
    950: '#000000',
  },
}
SCSS
$custom: #0f2260;
$custom-light: #5d5c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2260",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 96
  },
  "hsl": {
    "h": 225.926,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28229,
    "c": 0.11286,
    "h": 266.1
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#0F2260
secondary
#998132
accent
#C538F0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F2260

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

Preview Lab → · Contrast checker → · Palette generator →

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