#0F2145#0F2145

#0F2145 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.072 H 262.5°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#0F2145
RGBrgb(15, 33, 69)
HSLhsl(220, 64%, 16%)
HSVhsv(220, 78%, 27%)
CMYKcmyk(78.3%, 52.2%, 0%, 72.9%)
CIE-LABlab(13.34, 7.15, -24.86)
CIE-LCHlch(13.34, 25.87, 286.05°)
OKLaboklab(25.54% -0.0094 -0.0712)
OKLCHoklch(25.54% 0.072 262.5)
XYZxyz(1.8147, 1.6188, 5.8459)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2145 #45330F
analogous
#0F3C45 #0F2145 #180F45
triadic
#0F2145 #450F21 #21450F
tetradic
#0F2145 #450F3C #45330F #0F4518
square
#0F2145 #450F3C #45330F #0F4518
split-complementary
#0F2145 #45180F #3C450F
monochromatic
#050C19 #050C19 #0F2145 #1A3977 #2551AA

Accessibility & contrast

On white

15.86
#0F2145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0F2145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2145
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2145#FFFFFF#000000##FFFFFF
##0F21451.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2546
Deuteranopia (green-blind)
#042044
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f2145;
/* rgb */ color: rgb(15, 33, 69);
/* oklch */ color: oklch(25.5% 0.072 262.5);
Tailwind
colors: {
  custom: {
    50: '#555b79',
    500: '#0f2145',
    950: '#000000',
  },
}
SCSS
$custom: #0f2145;
$custom-light: #555b79;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2145",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 220,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25535,
    "c": 0.07182,
    "h": 262.5
  },
  "luminance": 0.01619
}

Semantic roles & 50–950 ramp

primary
#0F2145
secondary
#7F6530
accent
#B041E7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0F2145

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

Preview Lab → · Contrast checker → · Palette generator →

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