#261E98#261E98

#261E98 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.186 H 273.9°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#261E98
RGBrgb(38, 30, 152)
HSLhsl(244, 67%, 36%)
HSVhsv(244, 80%, 60%)
CMYKcmyk(75%, 80.3%, 0%, 40.4%)
CIE-LABlab(22.33, 43.67, -64.11)
CIE-LCHlch(22.33, 77.57, 304.26°)
OKLaboklab(34.95% 0.0126 -0.1854)
OKLCHoklch(34.95% 0.186 273.9)
XYZxyz(6.9292, 3.6069, 30.0307)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E98 #90981E
analogous
#1E5398 #261E98 #631E98
triadic
#261E98 #98261E #1E9826
tetradic
#261E98 #981E53 #90981E #1E9863
square
#261E98 #981E53 #90981E #1E9863
split-complementary
#261E98 #98631E #53981E
monochromatic
#0C0A32 #191465 #261E98 #3328CB #5C53DD

Accessibility & contrast

On white

12.20
#261E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#261E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E98
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E98#FFFFFF#000000##FFFFFF
##261E981.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261e98;
/* rgb */ color: rgb(38, 30, 152);
/* oklch */ color: oklch(35.0% 0.186 273.9);
Tailwind
colors: {
  custom: {
    50: '#745db8',
    500: '#261e98',
    950: '#000000',
  },
}
SCSS
$custom: #261e98;
$custom-light: #745db8;
$custom-dark: #000000;
JSON
{
  "hex": "#261e98",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 243.934,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34952,
    "c": 0.18587,
    "h": 273.9
  },
  "luminance": 0.03608
}

Semantic roles & 50–950 ramp

primary
#261E98
secondary
#B9C051
accent
#EA3EDF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #261E98

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

Preview Lab → · Contrast checker → · Palette generator →

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