#261E63#261E63

#261E63 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.3% C 0.116 H 281.7°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#261E63
RGBrgb(38, 30, 99)
HSLhsl(247, 53%, 25%)
HSVhsv(247, 70%, 39%)
CMYKcmyk(61.6%, 69.7%, 0%, 61.2%)
CIE-LABlab(16.71, 25.61, -39.63)
CIE-LCHlch(16.71, 47.19, 302.87°)
OKLaboklab(29.28% 0.0236 -0.114)
OKLCHoklch(29.28% 0.116 281.7)
XYZxyz(3.5150, 2.2412, 12.0493)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E63 #5B631E
analogous
#1E3863 #261E63 #491E63
triadic
#261E63 #63261E #1E6326
tetradic
#261E63 #631E38 #5B631E #1E6349
square
#261E63 #631E38 #5B631E #1E6349
split-complementary
#261E63 #63491E #38631E
monochromatic
#090717 #141034 #261E63 #382C92 #4A3AC1

Accessibility & contrast

On white

14.50
#261E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#261E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E63
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E63#FFFFFF#000000##FFFFFF
##261E631.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#032F3D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #261e63;
/* rgb */ color: rgb(38, 30, 99);
/* oklch */ color: oklch(29.3% 0.116 281.7);
Tailwind
colors: {
  custom: {
    50: '#685a90',
    500: '#261e63',
    950: '#000000',
  },
}
SCSS
$custom: #261e63;
$custom-light: #685a90;
$custom-dark: #000000;
JSON
{
  "hex": "#261e63",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 99
  },
  "hsl": {
    "h": 246.957,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29276,
    "c": 0.11644,
    "h": 281.7
  },
  "luminance": 0.02241
}

Semantic roles & 50–950 ramp

primary
#261E63
secondary
#8E9845
accent
#DD4BCC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040D
muted
#7A797D

Preview Lab

Preview with #261E63

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

Preview Lab → · Contrast checker → · Palette generator →

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