#261B7E#261B7E

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

Color values

HEX#261B7E
RGBrgb(38, 27, 126)
HSLhsl(247, 65%, 30%)
HSVhsv(247, 79%, 49%)
CMYKcmyk(69.8%, 78.6%, 0%, 50.6%)
CIE-LABlab(18.81, 36.76, -53.67)
CIE-LCHlch(18.81, 65.05, 304.41°)
OKLaboklab(31.62% 0.0206 -0.155)
OKLCHoklch(31.62% 0.156 277.6)
XYZxyz(4.9559, 2.7019, 19.9950)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B7E #737E1B
analogous
#1B417E #261B7E #581B7E
triadic
#261B7E #7E261B #1B7E26
tetradic
#261B7E #7E1B41 #737E1B #1B7E58
square
#261B7E #7E1B41 #737E1B #1B7E58
split-complementary
#261B7E #7E581B #417E1B
monochromatic
#080519 #17104C #261B7E #3526B0 #4F3ED6

Accessibility & contrast

On white

13.63
#261B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261B7E
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B7E#FFFFFF#000000##FFFFFF
##261B7E1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261b7e;
/* rgb */ color: rgb(38, 27, 126);
/* oklch */ color: oklch(31.6% 0.156 277.6);
Tailwind
colors: {
  custom: {
    50: '#6e5aa4',
    500: '#261b7e',
    950: '#000000',
  },
}
SCSS
$custom: #261b7e;
$custom-light: #6e5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#261b7e",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 246.667,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.31615,
    "c": 0.15641,
    "h": 277.6
  },
  "luminance": 0.02702
}

Semantic roles & 50–950 ramp

primary
#261B7E
secondary
#A6B243
accent
#E840D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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