#261E8F#261E8F

#261E8F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.175 H 274.9°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#261E8F
RGBrgb(38, 30, 143)
HSLhsl(244, 65%, 34%)
HSVhsv(244, 79%, 56%)
CMYKcmyk(73.4%, 79%, 0%, 43.9%)
CIE-LABlab(21.29, 40.74, -60.25)
CIE-LCHlch(21.29, 72.73, 304.07°)
OKLaboklab(33.93% 0.0148 -0.1742)
OKLCHoklch(33.93% 0.175 274.9)
XYZxyz(6.2199, 3.3232, 26.2949)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E8F #878F1E
analogous
#1E4F8F #261E8F #5F1E8F
triadic
#261E8F #8F261E #1E8F26
tetradic
#261E8F #8F1E4F #878F1E #1E8F5F
square
#261E8F #8F1E4F #878F1E #1E8F5F
split-complementary
#261E8F #8F5F1E #4F8F1E
monochromatic
#0B092A #19135C #261E8F #3329C2 #584EDA

Accessibility & contrast

On white

12.61
#261E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#261E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E8F
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E8F#FFFFFF#000000##FFFFFF
##261E8F1.0012.611.6612.61
#FFFFFF12.611.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002E8D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #261e8f;
/* rgb */ color: rgb(38, 30, 143);
/* oklch */ color: oklch(33.9% 0.175 274.9);
Tailwind
colors: {
  custom: {
    50: '#725cb1',
    500: '#261e8f',
    950: '#000000',
  },
}
SCSS
$custom: #261e8f;
$custom-light: #725cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#261e8f",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 244.248,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33926,
    "c": 0.17486,
    "h": 274.9
  },
  "luminance": 0.03324
}

Semantic roles & 50–950 ramp

primary
#261E8F
secondary
#B5BC4C
accent
#E840DC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #261E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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