#0F2155#0F2155

#0F2155 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.098 H 265.6°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#0F2155
RGBrgb(15, 33, 85)
HSLhsl(225, 70%, 20%)
HSVhsv(225, 82%, 33%)
CMYKcmyk(82.4%, 61.2%, 0%, 66.7%)
CIE-LABlab(14.65, 14.16, -33.70)
CIE-LCHlch(14.65, 36.55, 292.79°)
OKLaboklab(26.94% -0.0074 -0.0972)
OKLCHoklch(26.94% 0.098 265.6)
XYZxyz(2.3800, 1.8449, 8.8232)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2155 #55430F
analogous
#0F4455 #0F2155 #200F55
triadic
#0F2155 #550F21 #21550F
tetradic
#0F2155 #550F44 #55430F #0F5520
square
#0F2155 #550F44 #55430F #0F5520
split-complementary
#0F2155 #55200F #44550F
monochromatic
#050A1A #060D21 #0F2155 #183589 #2149BD

Accessibility & contrast

On white

15.34
#0F2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0F2155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2155
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2155#FFFFFF#000000##FFFFFF
##0F21551.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002857
Deuteranopia (green-blind)
#002254
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f2155;
/* rgb */ color: rgb(15, 33, 85);
/* oklch */ color: oklch(26.9% 0.098 265.6);
Tailwind
colors: {
  custom: {
    50: '#5a5b85',
    500: '#0f2155',
    950: '#000000',
  },
}
SCSS
$custom: #0f2155;
$custom-light: #5a5b85;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2155",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 224.571,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26943,
    "c": 0.0975,
    "h": 265.6
  },
  "luminance": 0.01845
}

Semantic roles & 50–950 ramp

primary
#0F2155
secondary
#8F7731
accent
#BF3BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2155

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

Preview Lab → · Contrast checker → · Palette generator →

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