#261F7C#261F7C

#261F7C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.150 H 277.1°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#261F7C
RGBrgb(38, 31, 124)
HSLhsl(245, 60%, 30%)
HSVhsv(245, 75%, 49%)
CMYKcmyk(69.4%, 75%, 0%, 51.4%)
CIE-LABlab(19.42, 33.75, -51.38)
CIE-LCHlch(19.42, 61.48, 303.30°)
OKLaboklab(31.98% 0.0185 -0.1484)
OKLCHoklch(31.98% 0.15 277.1)
XYZxyz(4.9262, 2.8469, 19.3548)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F7C #757C1F
analogous
#1F467C #261F7C #541F7C
triadic
#261F7C #7C261F #1F7C26
tetradic
#261F7C #7C1F46 #757C1F #1F7C54
square
#261F7C #7C1F46 #757C1F #1F7C54
split-complementary
#261F7C #7C541F #467C1F
monochromatic
#08071A #17134B #261F7C #352BAD #4F45D0

Accessibility & contrast

On white

13.38
#261F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#261F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F7C
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F7C#FFFFFF#000000##FFFFFF
##261F7C1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261f7c;
/* rgb */ color: rgb(38, 31, 124);
/* oklch */ color: oklch(32.0% 0.150 277.1);
Tailwind
colors: {
  custom: {
    50: '#6d5ca3',
    500: '#261f7c',
    950: '#000000',
  },
}
SCSS
$custom: #261f7c;
$custom-light: #6d5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#261f7c",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 244.516,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31983,
    "c": 0.14958,
    "h": 277.1
  },
  "luminance": 0.02847
}

Semantic roles & 50–950 ramp

primary
#261F7C
secondary
#A7AF48
accent
#E345D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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