#261C98#261C98

#261C98 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.188 H 274.1°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#261C98
RGBrgb(38, 28, 152)
HSLhsl(245, 69%, 35%)
HSVhsv(245, 82%, 60%)
CMYKcmyk(75%, 81.6%, 0%, 40.4%)
CIE-LABlab(21.98, 44.69, -64.69)
CIE-LCHlch(21.98, 78.62, 304.64°)
OKLaboklab(34.71% 0.0134 -0.1871)
OKLCHoklch(34.71% 0.188 274.1)
XYZxyz(6.8802, 3.5089, 30.0144)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C98 #8E981C
analogous
#1C5098 #261C98 #641C98
triadic
#261C98 #98261C #1C9826
tetradic
#261C98 #981C50 #8E981C #1C9864
square
#261C98 #981C50 #8E981C #1C9864
split-complementary
#261C98 #98641C #50981C
monochromatic
#0C0931 #191264 #261C98 #3326CC #5B50DF

Accessibility & contrast

On white

12.34
#261C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#261C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C98
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C98#FFFFFF#000000##FFFFFF
##261C981.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261c98;
/* rgb */ color: rgb(38, 28, 152);
/* oklch */ color: oklch(34.7% 0.188 274.1);
Tailwind
colors: {
  custom: {
    50: '#745cb8',
    500: '#261c98',
    950: '#000000',
  },
}
SCSS
$custom: #261c98;
$custom-light: #745cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#261c98",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 244.839,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34708,
    "c": 0.18758,
    "h": 274.1
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#261C98
secondary
#B8C14E
accent
#EC3CDE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #261C98

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

Preview Lab → · Contrast checker → · Palette generator →

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