#0F2045#0F2045

#0F2045 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.3% C 0.073 H 263.5°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#0F2045
RGBrgb(15, 32, 69)
HSLhsl(221, 64%, 16%)
HSVhsv(221, 78%, 27%)
CMYKcmyk(78.3%, 53.6%, 0%, 72.9%)
CIE-LABlab(13.01, 7.92, -25.39)
CIE-LCHlch(13.01, 26.60, 287.32°)
OKLaboklab(25.28% -0.0083 -0.0728)
OKLCHoklch(25.28% 0.073 263.5)
XYZxyz(1.7873, 1.5641, 5.8368)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2045 #45340F
analogous
#0F3B45 #0F2045 #190F45
triadic
#0F2045 #450F20 #20450F
tetradic
#0F2045 #450F3B #45340F #0F4519
square
#0F2045 #450F3B #45340F #0F4519
split-complementary
#0F2045 #45190F #3B450F
monochromatic
#050C19 #050C19 #0F2045 #1A3777 #254FAA

Accessibility & contrast

On white

16.00
#0F2045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0F2045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2045
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2045#FFFFFF#000000##FFFFFF
##0F20451.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2446
Deuteranopia (green-blind)
#021F44
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f2045;
/* rgb */ color: rgb(15, 32, 69);
/* oklch */ color: oklch(25.3% 0.073 263.5);
Tailwind
colors: {
  custom: {
    50: '#555a79',
    500: '#0f2045',
    950: '#000000',
  },
}
SCSS
$custom: #0f2045;
$custom-light: #555a79;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2045",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 221.111,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25279,
    "c": 0.07327,
    "h": 263.5
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

primary
#0F2045
secondary
#7F6730
accent
#B341E7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0F2045

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

Preview Lab → · Contrast checker → · Palette generator →

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