#261E4F#261E4F

#261E4F is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.086 H 286.7°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#261E4F
RGBrgb(38, 30, 79)
HSLhsl(250, 45%, 21%)
HSVhsv(250, 62%, 31%)
CMYKcmyk(51.9%, 62%, 0%, 69%)
CIE-LABlab(14.98, 18.54, -29.01)
CIE-LCHlch(14.98, 34.43, 302.58°)
OKLaboklab(27.47% 0.0249 -0.0828)
OKLCHoklch(27.47% 0.086 286.7)
XYZxyz(2.6745, 1.9050, 7.6224)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E4F #474F1E
analogous
#1E2F4F #261E4F #3F1E4F
triadic
#261E4F #4F261E #1E4F26
tetradic
#261E4F #4F1E2F #474F1E #1E4F3F
square
#261E4F #4F1E2F #474F1E #1E4F3F
split-complementary
#261E4F #4F3F1E #2F4F1E
monochromatic
#0B0816 #110D23 #261E4F #3B2F7B #5140A8

Accessibility & contrast

On white

15.21
#261E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#261E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E4F
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E4F#FFFFFF#000000##FFFFFF
##261E4F1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022751
Deuteranopia (green-blind)
#02244E
Tritanopia (blue-blind)
#182933
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #261e4f;
/* rgb */ color: rgb(38, 30, 79);
/* oklch */ color: oklch(27.5% 0.086 286.7);
Tailwind
colors: {
  custom: {
    50: '#645a81',
    500: '#261e4f',
    950: '#000000',
  },
}
SCSS
$custom: #261e4f;
$custom-light: #645a81;
$custom-dark: #000000;
JSON
{
  "hex": "#261e4f",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 249.796,
    "s": 44.954,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27472,
    "c": 0.08647,
    "h": 286.7
  },
  "luminance": 0.01905
}

Semantic roles & 50–950 ramp

primary
#261E4F
secondary
#7A8445
accent
#D553C0
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #261E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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