#0F2146#0F2146

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

Color values

HEX#0F2146
RGBrgb(15, 33, 70)
HSLhsl(220, 65%, 17%)
HSVhsv(220, 79%, 27%)
CMYKcmyk(78.6%, 52.9%, 0%, 72.5%)
CIE-LABlab(13.42, 7.59, -25.43)
CIE-LCHlch(13.42, 26.54, 286.62°)
OKLaboklab(25.62% -0.0092 -0.0729)
OKLCHoklch(25.62% 0.073 262.8)
XYZxyz(1.8460, 1.6313, 6.0107)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2146 #46340F
analogous
#0F3D46 #0F2146 #190F46
triadic
#0F2146 #460F21 #21460F
tetradic
#0F2146 #460F3D #46340F #0F4619
square
#0F2146 #460F3D #46340F #0F4619
split-complementary
#0F2146 #46190F #3D460F
monochromatic
#050C19 #050C19 #0F2146 #1A3978 #2551AB

Accessibility & contrast

On white

15.83
#0F2146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0F2146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2146
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2146#FFFFFF#000000##FFFFFF
##0F21461.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2547
Deuteranopia (green-blind)
#032045
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f2146;
/* rgb */ color: rgb(15, 33, 70);
/* oklch */ color: oklch(25.6% 0.073 262.8);
Tailwind
colors: {
  custom: {
    50: '#565b7a',
    500: '#0f2146',
    950: '#000000',
  },
}
SCSS
$custom: #0f2146;
$custom-light: #565b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2146",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 220.364,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25617,
    "c": 0.07347,
    "h": 262.8
  },
  "luminance": 0.01631
}

Semantic roles & 50–950 ramp

primary
#0F2146
secondary
#806630
accent
#B140E8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0F2146

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

Preview Lab → · Contrast checker → · Palette generator →

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