#261D98#261D98

#261D98 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.187 H 274.0°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#261D98
RGBrgb(38, 29, 152)
HSLhsl(244, 68%, 35%)
HSVhsv(244, 81%, 60%)
CMYKcmyk(75%, 80.9%, 0%, 40.4%)
CIE-LABlab(22.15, 44.19, -64.40)
CIE-LCHlch(22.15, 78.10, 304.45°)
OKLaboklab(34.83% 0.013 -0.1863)
OKLCHoklch(34.83% 0.187 274)
XYZxyz(6.9043, 3.5571, 30.0224)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D98 #8F981D
analogous
#1D5298 #261D98 #631D98
triadic
#261D98 #98261D #1D9826
tetradic
#261D98 #981D52 #8F981D #1D9863
square
#261D98 #981D52 #8F981D #1D9863
split-complementary
#261D98 #98631D #52981D
monochromatic
#0C0931 #191365 #261D98 #3327CB #5C52DE

Accessibility & contrast

On white

12.27
#261D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#261D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D98
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D98#FFFFFF#000000##FFFFFF
##261D981.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9B
Deuteranopia (green-blind)
#002F96
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #261d98;
/* rgb */ color: rgb(38, 29, 152);
/* oklch */ color: oklch(34.8% 0.187 274.0);
Tailwind
colors: {
  custom: {
    50: '#745cb8',
    500: '#261d98',
    950: '#000000',
  },
}
SCSS
$custom: #261d98;
$custom-light: #745cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#261d98",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 152
  },
  "hsl": {
    "h": 244.39,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34828,
    "c": 0.18673,
    "h": 274
  },
  "luminance": 0.03558
}

Semantic roles & 50–950 ramp

primary
#261D98
secondary
#B9C150
accent
#EB3DDE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #261D98

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

Preview Lab → · Contrast checker → · Palette generator →

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