#261E7C#261E7C

#261E7C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.151 H 277.3°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#261E7C
RGBrgb(38, 30, 124)
HSLhsl(245, 61%, 30%)
HSVhsv(245, 76%, 49%)
CMYKcmyk(69.4%, 75.8%, 0%, 51.4%)
CIE-LABlab(19.21, 34.35, -51.74)
CIE-LCHlch(19.21, 62.10, 303.58°)
OKLaboklab(31.83% 0.0192 -0.1494)
OKLCHoklch(31.83% 0.151 277.3)
XYZxyz(4.9005, 2.7954, 19.3462)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E7C #747C1E
analogous
#1E457C #261E7C #551E7C
triadic
#261E7C #7C261E #1E7C26
tetradic
#261E7C #7C1E45 #747C1E #1E7C55
square
#261E7C #7C1E45 #747C1E #1E7C55
split-complementary
#261E7C #7C551E #457C1E
monochromatic
#080619 #17124B #261E7C #352AAD #4F43D1

Accessibility & contrast

On white

13.47
#261E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#261E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E7C
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E7C#FFFFFF#000000##FFFFFF
##261E7C1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261e7c;
/* rgb */ color: rgb(38, 30, 124);
/* oklch */ color: oklch(31.8% 0.151 277.3);
Tailwind
colors: {
  custom: {
    50: '#6e5ba3',
    500: '#261e7c',
    950: '#000000',
  },
}
SCSS
$custom: #261e7c;
$custom-light: #6e5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#261e7c",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 245.106,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31831,
    "c": 0.15067,
    "h": 277.3
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#261E7C
secondary
#A6AF46
accent
#E444D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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