#261E7A#261E7A

#261E7A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.148 H 277.6°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#261E7A
RGBrgb(38, 30, 122)
HSLhsl(245, 61%, 30%)
HSVhsv(245, 75%, 48%)
CMYKcmyk(68.9%, 75.4%, 0%, 52.2%)
CIE-LABlab(18.99, 33.66, -50.81)
CIE-LCHlch(18.99, 60.95, 303.53°)
OKLaboklab(31.62% 0.0196 -0.1467)
OKLCHoklch(31.62% 0.148 277.6)
XYZxyz(4.7753, 2.7453, 18.6868)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E7A #727A1E
analogous
#1E447A #261E7A #541E7A
triadic
#261E7A #7A261E #1E7A26
tetradic
#261E7A #7A1E44 #727A1E #1E7A54
square
#261E7A #7A1E44 #727A1E #1E7A54
split-complementary
#261E7A #7A541E #447A1E
monochromatic
#080619 #171249 #261E7A #352AAB #4E42D0

Accessibility & contrast

On white

13.56
#261E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#261E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E7A
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E7A#FFFFFF#000000##FFFFFF
##261E7A1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261e7a;
/* rgb */ color: rgb(38, 30, 122);
/* oklch */ color: oklch(31.6% 0.148 277.6);
Tailwind
colors: {
  custom: {
    50: '#6d5ba1',
    500: '#261e7a',
    950: '#000000',
  },
}
SCSS
$custom: #261e7a;
$custom-light: #6d5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#261e7a",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 245.217,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31617,
    "c": 0.14804,
    "h": 277.6
  },
  "luminance": 0.02746
}

Semantic roles & 50–950 ramp

primary
#261E7A
secondary
#A5AE46
accent
#E444D6
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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