#0F2149#0F2149

#0F2149 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.9% C 0.078 H 263.6°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#0F2149
RGBrgb(15, 33, 73)
HSLhsl(221, 66%, 17%)
HSVhsv(221, 79%, 29%)
CMYKcmyk(79.5%, 54.8%, 0%, 71.4%)
CIE-LABlab(13.65, 8.91, -27.13)
CIE-LCHlch(13.65, 28.56, 288.18°)
OKLaboklab(25.87% -0.0087 -0.0779)
OKLCHoklch(25.87% 0.078 263.6)
XYZxyz(1.9430, 1.6701, 6.5220)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2149 #49370F
analogous
#0F3E49 #0F2149 #1A0F49
triadic
#0F2149 #490F21 #21490F
tetradic
#0F2149 #490F3E #49370F #0F491A
square
#0F2149 #490F3E #49370F #0F491A
split-complementary
#0F2149 #491A0F #3E490F
monochromatic
#050B19 #050B19 #0F2149 #19387C #244FAF

Accessibility & contrast

On white

15.74
#0F2149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2149
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2149#FFFFFF#000000##FFFFFF
##0F21491.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A264A
Deuteranopia (green-blind)
#002048
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f2149;
/* rgb */ color: rgb(15, 33, 73);
/* oklch */ color: oklch(25.9% 0.078 263.6);
Tailwind
colors: {
  custom: {
    50: '#565b7c',
    500: '#0f2149',
    950: '#000000',
  },
}
SCSS
$custom: #0f2149;
$custom-light: #565b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2149",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 221.379,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25868,
    "c": 0.07837,
    "h": 263.6
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#0F2149
secondary
#836A30
accent
#B43FE9
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0F2149

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

Preview Lab → · Contrast checker → · Palette generator →

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