#0F2655#0F2655

#0F2655 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.090 H 262.5°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#0F2655
RGBrgb(15, 38, 85)
HSLhsl(220, 70%, 20%)
HSVhsv(220, 82%, 33%)
CMYKcmyk(82.4%, 55.3%, 0%, 66.7%)
CIE-LABlab(16.22, 10.38, -31.15)
CIE-LCHlch(16.22, 32.84, 288.43°)
OKLaboklab(28.13% -0.0118 -0.0896)
OKLCHoklch(28.13% 0.09 262.5)
XYZxyz(2.5292, 2.1434, 8.8730)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2655 #553E0F
analogous
#0F4955 #0F2655 #1B0F55
triadic
#0F2655 #550F26 #26550F
tetradic
#0F2655 #550F49 #553E0F #0F551B
square
#0F2655 #550F49 #553E0F #0F551B
split-complementary
#0F2655 #551B0F #49550F
monochromatic
#050C1A #060F21 #0F2655 #183D89 #2155BD

Accessibility & contrast

On white

14.70
#0F2655 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0F2655 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2655
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2655#FFFFFF#000000##FFFFFF
##0F26551.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082C57
Deuteranopia (green-blind)
#002554
Tritanopia (blue-blind)
#003139
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2655;
/* rgb */ color: rgb(15, 38, 85);
/* oklch */ color: oklch(28.1% 0.090 262.5);
Tailwind
colors: {
  custom: {
    50: '#595f85',
    500: '#0f2655',
    950: '#000000',
  },
}
SCSS
$custom: #0f2655;
$custom-light: #595f85;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2655",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 85
  },
  "hsl": {
    "h": 220.286,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28133,
    "c": 0.0904,
    "h": 262.5
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#0F2655
secondary
#8F7031
accent
#B23BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2655

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

Preview Lab → · Contrast checker → · Palette generator →

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