#261A7E#261A7E

#261A7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.157 H 277.7°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#261A7E
RGBrgb(38, 26, 126)
HSLhsl(247, 66%, 30%)
HSVhsv(247, 79%, 49%)
CMYKcmyk(69.8%, 79.4%, 0%, 50.6%)
CIE-LABlab(18.61, 37.32, -53.99)
CIE-LCHlch(18.61, 65.63, 304.65°)
OKLaboklab(31.48% 0.0211 -0.156)
OKLCHoklch(31.48% 0.157 277.7)
XYZxyz(4.9334, 2.6568, 19.9874)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A7E #727E1A
analogous
#1A407E #261A7E #581A7E
triadic
#261A7E #7E261A #1A7E26
tetradic
#261A7E #7E1A40 #727E1A #1A7E58
square
#261A7E #7E1A40 #727E1A #1A7E58
split-complementary
#261A7E #7E581A #407E1A
monochromatic
#080519 #17104B #261A7E #3524B1 #4E3CD7

Accessibility & contrast

On white

13.71
#261A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#261A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A7E
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A7E#FFFFFF#000000##FFFFFF
##261A7E1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261a7e;
/* rgb */ color: rgb(38, 26, 126);
/* oklch */ color: oklch(31.5% 0.157 277.7);
Tailwind
colors: {
  custom: {
    50: '#6e59a4',
    500: '#261a7e',
    950: '#000000',
  },
}
SCSS
$custom: #261a7e;
$custom-light: #6e59a4;
$custom-dark: #000000;
JSON
{
  "hex": "#261a7e",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 247.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31478,
    "c": 0.1574,
    "h": 277.7
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#261A7E
secondary
#A5B242
accent
#E93FD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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