#261F73#261F73

#261F73 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.138 H 278.5°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#261F73
RGBrgb(38, 31, 115)
HSLhsl(245, 58%, 29%)
HSVhsv(245, 73%, 45%)
CMYKcmyk(67%, 73%, 0%, 54.9%)
CIE-LABlab(18.49, 30.61, -47.14)
CIE-LCHlch(18.49, 56.21, 303.00°)
OKLaboklab(31.04% 0.0202 -0.136)
OKLCHoklch(31.04% 0.138 278.5)
XYZxyz(4.3828, 2.6295, 16.4929)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F73 #6C731F
analogous
#1F4273 #261F73 #501F73
triadic
#261F73 #73261F #1F7326
tetradic
#261F73 #731F42 #6C731F #1F7350
square
#261F73 #731F42 #6C731F #1F7350
split-complementary
#261F73 #73501F #42731F
monochromatic
#080618 #161243 #261F73 #362CA3 #4C41CC

Accessibility & contrast

On white

13.76
#261F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#261F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F73
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F73#FFFFFF#000000##FFFFFF
##261F731.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261f73;
/* rgb */ color: rgb(38, 31, 115);
/* oklch */ color: oklch(31.0% 0.138 278.5);
Tailwind
colors: {
  custom: {
    50: '#6b5c9c',
    500: '#261f73',
    950: '#000000',
  },
}
SCSS
$custom: #261f73;
$custom-light: #6b5c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#261f73",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 245,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31042,
    "c": 0.13752,
    "h": 278.5
  },
  "luminance": 0.0263
}

Semantic roles & 50–950 ramp

primary
#261F73
secondary
#9FA747
accent
#E147D4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #261F73

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

Preview Lab → · Contrast checker → · Palette generator →

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