#261E57#261E57

#261E57 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.2% C 0.099 H 284.5°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#261E57
RGBrgb(38, 30, 87)
HSLhsl(248, 49%, 23%)
HSVhsv(248, 66%, 34%)
CMYKcmyk(56.3%, 65.5%, 0%, 65.9%)
CIE-LABlab(15.64, 21.36, -33.37)
CIE-LCHlch(15.64, 39.62, 302.62°)
OKLaboklab(28.16% 0.0247 -0.0956)
OKLCHoklch(28.16% 0.099 284.5)
XYZxyz(2.9834, 2.0286, 9.2493)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E57 #4F571E
analogous
#1E3257 #261E57 #421E57
triadic
#261E57 #57261E #1E5726
tetradic
#261E57 #571E32 #4F571E #1E5742
square
#261E57 #571E32 #4F571E #1E5742
split-complementary
#261E57 #57421E #32571E
monochromatic
#0A0817 #120E29 #261E57 #3A2E85 #4E3DB2

Accessibility & contrast

On white

14.94
#261E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#261E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E57
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E57#FFFFFF#000000##FFFFFF
##261E571.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002959
Deuteranopia (green-blind)
#002556
Tritanopia (blue-blind)
#132B37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #261e57;
/* rgb */ color: rgb(38, 30, 87);
/* oklch */ color: oklch(28.2% 0.099 284.5);
Tailwind
colors: {
  custom: {
    50: '#655a87',
    500: '#261e57',
    950: '#000000',
  },
}
SCSS
$custom: #261e57;
$custom-light: #655a87;
$custom-dark: #000000;
JSON
{
  "hex": "#261e57",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 87
  },
  "hsl": {
    "h": 248.421,
    "s": 48.718,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28163,
    "c": 0.09876,
    "h": 284.5
  },
  "luminance": 0.02029
}

Semantic roles & 50–950 ramp

primary
#261E57
secondary
#828C45
accent
#D850C5
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #261E57

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

Preview Lab → · Contrast checker → · Palette generator →

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