#261F72#261F72

#261F72 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.136 H 278.6°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#261F72
RGBrgb(38, 31, 114)
HSLhsl(245, 57%, 28%)
HSVhsv(245, 73%, 45%)
CMYKcmyk(66.7%, 72.8%, 0%, 55.3%)
CIE-LABlab(18.39, 30.26, -46.66)
CIE-LCHlch(18.39, 55.61, 302.97°)
OKLaboklab(30.94% 0.0204 -0.1346)
OKLCHoklch(30.94% 0.136 278.6)
XYZxyz(4.3256, 2.6066, 16.1915)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F72 #6B721F
analogous
#1F4172 #261F72 #4F1F72
triadic
#261F72 #72261F #1F7226
tetradic
#261F72 #721F41 #6B721F #1F724F
square
#261F72 #721F41 #6B721F #1F724F
split-complementary
#261F72 #724F1F #41721F
monochromatic
#080718 #161242 #261F72 #362CA2 #4C40CB

Accessibility & contrast

On white

13.80
#261F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#261F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F72
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F72#FFFFFF#000000##FFFFFF
##261F721.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261f72;
/* rgb */ color: rgb(38, 31, 114);
/* oklch */ color: oklch(30.9% 0.136 278.6);
Tailwind
colors: {
  custom: {
    50: '#6b5b9b',
    500: '#261f72',
    950: '#000000',
  },
}
SCSS
$custom: #261f72;
$custom-light: #6b5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#261f72",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 245.06,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3094,
    "c": 0.13615,
    "h": 278.6
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#261F72
secondary
#9EA647
accent
#E047D4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #261F72

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

Preview Lab → · Contrast checker → · Palette generator →

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