#261A7F#261A7F

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

Color values

HEX#261A7F
RGBrgb(38, 26, 127)
HSLhsl(247, 66%, 30%)
HSVhsv(247, 80%, 50%)
CMYKcmyk(70.1%, 79.5%, 0%, 50.2%)
CIE-LABlab(18.73, 37.65, -54.44)
CIE-LCHlch(18.73, 66.19, 304.67°)
OKLaboklab(31.59% 0.0209 -0.1573)
OKLCHoklch(31.59% 0.159 277.6)
XYZxyz(4.9982, 2.6827, 20.3290)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A7F #737F1A
analogous
#1A407F #261A7F #591A7F
triadic
#261A7F #7F261A #1A7F26
tetradic
#261A7F #7F1A40 #737F1A #1A7F59
square
#261A7F #7F1A40 #737F1A #1A7F59
split-complementary
#261A7F #7F591A #407F1A
monochromatic
#080519 #17104C #261A7F #3524B2 #4F3CD7

Accessibility & contrast

On white

13.67
#261A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#261A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A7F
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A7F#FFFFFF#000000##FFFFFF
##261A7F1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261a7f;
/* rgb */ color: rgb(38, 26, 127);
/* oklch */ color: oklch(31.6% 0.159 277.6);
Tailwind
colors: {
  custom: {
    50: '#6f59a5',
    500: '#261a7f',
    950: '#000000',
  },
}
SCSS
$custom: #261a7f;
$custom-light: #6f59a5;
$custom-dark: #000000;
JSON
{
  "hex": "#261a7f",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 247.129,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.3159,
    "c": 0.15866,
    "h": 277.6
  },
  "luminance": 0.02683
}

Semantic roles & 50–950 ramp

primary
#261A7F
secondary
#A6B342
accent
#E93FD5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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