#261FA8#261FA8

#261FA8 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.9% C 0.204 H 272.4°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#261FA8
RGBrgb(38, 31, 168)
HSLhsl(243, 69%, 39%)
HSVhsv(243, 82%, 66%)
CMYKcmyk(77.4%, 81.5%, 0%, 34.1%)
CIE-LABlab(24.38, 48.26, -70.46)
CIE-LCHlch(24.38, 85.40, 304.41°)
OKLaboklab(36.93% 0.0084 -0.2039)
OKLCHoklch(36.93% 0.204 272.4)
XYZxyz(8.3548, 4.2183, 37.4121)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261FA8 #A1A81F
analogous
#1F5DA8 #261FA8 #6B1FA8
triadic
#261FA8 #A8261F #1FA826
tetradic
#261FA8 #A81F5D #A1A81F #1FA86B
square
#261FA8 #A81F5D #A1A81F #1FA86B
split-complementary
#261FA8 #A86B1F #5DA81F
monochromatic
#0F0C41 #1A1574 #261FA8 #352CD8 #6660E2

Accessibility & contrast

On white

11.39
#261FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#261FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261FA8
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261FA8#FFFFFF#000000##FFFFFF
##261FA81.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AC
Deuteranopia (green-blind)
#0033A6
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #261fa8;
/* rgb */ color: rgb(38, 31, 168);
/* oklch */ color: oklch(36.9% 0.204 272.4);
Tailwind
colors: {
  custom: {
    50: '#785fc3',
    500: '#261fa8',
    950: '#000000',
  },
}
SCSS
$custom: #261fa8;
$custom-light: #785fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#261fa8",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 243.066,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36928,
    "c": 0.20406,
    "h": 272.4
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#261FA8
secondary
#C1C65D
accent
#EC3CE3
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #261FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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