#261FD4#261FD4

#261FD4 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 42.2% C 0.253 H 269.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#261FD4
RGBrgb(38, 31, 212)
HSLhsl(242, 74%, 48%)
HSVhsv(242, 85%, 83%)
CMYKcmyk(82.1%, 85.4%, 0%, 16.9%)
CIE-LABlab(29.77, 61.43, -87.53)
CIE-LCHlch(29.77, 106.94, 305.06°)
OKLaboklab(42.18% -0.0018 -0.2533)
OKLCHoklch(42.18% 0.253 269.6)
XYZxyz(13.1689, 6.1439, 62.7664)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261FD4 #CDD41F
analogous
#1F73D4 #261FD4 #801FD4
triadic
#261FD4 #D4261F #1FD426
tetradic
#261FD4 #D41F73 #CDD41F #1FD480
square
#261FD4 #D41F73 #CDD41F #1FD480
split-complementary
#261FD4 #D4801F #73D41F
monochromatic
#130F69 #1C179F #261FD4 #514BE5 #8581ED

Accessibility & contrast

On white

9.42
#261FD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#261FD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261FD4
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261FD4#FFFFFF#000000##FFFFFF
##261FD41.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FD9
Deuteranopia (green-blind)
#003CD1
Tritanopia (blue-blind)
#005D7E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #261fd4;
/* rgb */ color: rgb(38, 31, 212);
/* oklch */ color: oklch(42.2% 0.253 269.6);
Tailwind
colors: {
  custom: {
    50: '#8362e3',
    500: '#261fd4',
    950: '#000000',
  },
}
SCSS
$custom: #261fd4;
$custom-light: #8362e3;
$custom-dark: #000000;
JSON
{
  "hex": "#261fd4",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 212
  },
  "hsl": {
    "h": 242.32,
    "s": 74.486,
    "l": 47.647
  },
  "oklch": {
    "l": 0.42183,
    "c": 0.25328,
    "h": 269.6
  },
  "luminance": 0.06146
}

Semantic roles & 50–950 ramp

primary
#261FD4
secondary
#D2D57A
accent
#F137EA
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #261FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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