#261F70#261F70

#261F70 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.133 H 278.9°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#261F70
RGBrgb(38, 31, 112)
HSLhsl(245, 57%, 28%)
HSVhsv(245, 72%, 44%)
CMYKcmyk(66.1%, 72.3%, 0%, 56.1%)
CIE-LABlab(18.19, 29.56, -45.69)
CIE-LCHlch(18.19, 54.42, 302.90°)
OKLaboklab(30.74% 0.0208 -0.1318)
OKLCHoklch(30.74% 0.133 278.9)
XYZxyz(4.2130, 2.5616, 15.5985)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F70 #69701F
analogous
#1F4070 #261F70 #4E1F70
triadic
#261F70 #70261F #1F7026
tetradic
#261F70 #701F40 #69701F #1F704E
square
#261F70 #701F40 #69701F #1F704E
split-complementary
#261F70 #704E1F #40701F
monochromatic
#080718 #161240 #261F70 #362CA0 #4B3FCA

Accessibility & contrast

On white

13.89
#261F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#261F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F70
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F70#FFFFFF#000000##FFFFFF
##261F701.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #261f70;
/* rgb */ color: rgb(38, 31, 112);
/* oklch */ color: oklch(30.7% 0.133 278.9);
Tailwind
colors: {
  custom: {
    50: '#6b5b9a',
    500: '#261f70',
    950: '#000000',
  },
}
SCSS
$custom: #261f70;
$custom-light: #6b5b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#261f70",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 245.185,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30736,
    "c": 0.13341,
    "h": 278.9
  },
  "luminance": 0.02562
}

Semantic roles & 50–950 ramp

primary
#261F70
secondary
#9CA447
accent
#E048D3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #261F70

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

Preview Lab → · Contrast checker → · Palette generator →

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