#261D62#261D62

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

Color values

HEX#261D62
RGBrgb(38, 29, 98)
HSLhsl(248, 54%, 25%)
HSVhsv(248, 70%, 38%)
CMYKcmyk(61.2%, 70.4%, 0%, 61.6%)
CIE-LABlab(16.37, 25.92, -39.52)
CIE-LCHlch(16.37, 47.26, 303.26°)
OKLaboklab(29% 0.0247 -0.1137)
OKLCHoklch(29% 0.116 282.3)
XYZxyz(3.4426, 2.1724, 11.7908)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D62 #59621D
analogous
#1D3762 #261D62 #491D62
triadic
#261D62 #62261D #1D6226
tetradic
#261D62 #621D37 #59621D #1D6249
square
#261D62 #621D37 #59621D #1D6249
split-complementary
#261D62 #62491D #37621D
monochromatic
#090718 #140F33 #261D62 #382B91 #4B39C0

Accessibility & contrast

On white

14.64
#261D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#261D62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D62
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D62#FFFFFF#000000##FFFFFF
##261D621.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#002661
Tritanopia (blue-blind)
#052F3C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #261d62;
/* rgb */ color: rgb(38, 29, 98);
/* oklch */ color: oklch(29.0% 0.116 282.3);
Tailwind
colors: {
  custom: {
    50: '#685a8f',
    500: '#261d62',
    950: '#000000',
  },
}
SCSS
$custom: #261d62;
$custom-light: #685a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#261d62",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 98
  },
  "hsl": {
    "h": 247.826,
    "s": 54.331,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29003,
    "c": 0.11636,
    "h": 282.3
  },
  "luminance": 0.02173
}

Semantic roles & 50–950 ramp

primary
#261D62
secondary
#8C9744
accent
#DE4ACA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #261D62

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

Preview Lab → · Contrast checker → · Palette generator →

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