#261F53#261F53

#261F53 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.091 H 285.0°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#261F53
RGBrgb(38, 31, 83)
HSLhsl(248, 46%, 22%)
HSVhsv(248, 63%, 33%)
CMYKcmyk(54.2%, 62.7%, 0%, 67.5%)
CIE-LABlab(15.57, 19.25, -30.78)
CIE-LCHlch(15.57, 36.30, 302.02°)
OKLaboklab(28.01% 0.0236 -0.088)
OKLCHoklch(28.01% 0.091 285)
XYZxyz(2.8502, 2.0164, 8.4210)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F53 #4C531F
analogous
#1F3253 #261F53 #401F53
triadic
#261F53 #53261F #1F5326
tetradic
#261F53 #531F32 #4C531F #1F5340
square
#261F53 #531F32 #4C531F #1F5340
split-complementary
#261F53 #53401F #32531F
monochromatic
#0A0816 #120E26 #261F53 #3A3080 #4F40AC

Accessibility & contrast

On white

14.96
#261F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#261F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F53
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F53#FFFFFF#000000##FFFFFF
##261F531.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#002552
Tritanopia (blue-blind)
#162B35
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #261f53;
/* rgb */ color: rgb(38, 31, 83);
/* oklch */ color: oklch(28.0% 0.091 285.0);
Tailwind
colors: {
  custom: {
    50: '#655b84',
    500: '#261f53',
    950: '#000000',
  },
}
SCSS
$custom: #261f53;
$custom-light: #655b84;
$custom-dark: #000000;
JSON
{
  "hex": "#261f53",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 248.077,
    "s": 45.614,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28012,
    "c": 0.09109,
    "h": 285
  },
  "luminance": 0.02017
}

Semantic roles & 50–950 ramp

primary
#261F53
secondary
#7F8846
accent
#D553C4
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #261F53

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

Preview Lab → · Contrast checker → · Palette generator →

#261F53 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva