#261E7B#261E7B

#261E7B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.149 H 277.5°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#261E7B
RGBrgb(38, 30, 123)
HSLhsl(245, 61%, 30%)
HSVhsv(245, 76%, 48%)
CMYKcmyk(69.1%, 75.6%, 0%, 51.8%)
CIE-LABlab(19.10, 34.01, -51.27)
CIE-LCHlch(19.10, 61.53, 303.55°)
OKLaboklab(31.72% 0.0194 -0.1481)
OKLCHoklch(31.72% 0.149 277.5)
XYZxyz(4.8376, 2.7703, 19.0148)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E7B #737B1E
analogous
#1E457B #261E7B #541E7B
triadic
#261E7B #7B261E #1E7B26
tetradic
#261E7B #7B1E45 #737B1E #1E7B54
square
#261E7B #7B1E45 #737B1E #1E7B54
split-complementary
#261E7B #7B541E #457B1E
monochromatic
#080619 #17124A #261E7B #352AAC #4F42D1

Accessibility & contrast

On white

13.51
#261E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261E7B
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E7B#FFFFFF#000000##FFFFFF
##261E7B1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261e7b;
/* rgb */ color: rgb(38, 30, 123);
/* oklch */ color: oklch(31.7% 0.149 277.5);
Tailwind
colors: {
  custom: {
    50: '#6d5ba2',
    500: '#261e7b',
    950: '#000000',
  },
}
SCSS
$custom: #261e7b;
$custom-light: #6d5ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#261e7b",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 245.161,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.31724,
    "c": 0.14936,
    "h": 277.5
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #261E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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