#0F2148#0F2148

#0F2148 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.8% C 0.077 H 263.4°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#0F2148
RGBrgb(15, 33, 72)
HSLhsl(221, 66%, 17%)
HSVhsv(221, 79%, 28%)
CMYKcmyk(79.2%, 54.2%, 0%, 71.8%)
CIE-LABlab(13.57, 8.47, -26.57)
CIE-LCHlch(13.57, 27.88, 287.68°)
OKLaboklab(25.78% -0.0089 -0.0762)
OKLCHoklch(25.78% 0.077 263.4)
XYZxyz(1.9101, 1.6570, 6.3488)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2148 #48360F
analogous
#0F3E48 #0F2148 #1A0F48
triadic
#0F2148 #480F21 #21480F
tetradic
#0F2148 #480F3E #48360F #0F481A
square
#0F2148 #480F3E #48360F #0F481A
split-complementary
#0F2148 #481A0F #3E480F
monochromatic
#050C19 #050C19 #0F2148 #1A387B #244FAD

Accessibility & contrast

On white

15.77
#0F2148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2148
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2148#FFFFFF#000000##FFFFFF
##0F21481.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2148;
/* rgb */ color: rgb(15, 33, 72);
/* oklch */ color: oklch(25.8% 0.077 263.4);
Tailwind
colors: {
  custom: {
    50: '#565b7b',
    500: '#0f2148',
    950: '#000000',
  },
}
SCSS
$custom: #0f2148;
$custom-light: #565b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2148",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 221.053,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25784,
    "c": 0.07674,
    "h": 263.4
  },
  "luminance": 0.01657
}

Semantic roles & 50–950 ramp

primary
#0F2148
secondary
#826930
accent
#B33FE8
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0F2148

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

Preview Lab → · Contrast checker → · Palette generator →

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