#261FBD#261FBD

#261FBD is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.4% C 0.228 H 270.9°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#261FBD
RGBrgb(38, 31, 189)
HSLhsl(243, 72%, 43%)
HSVhsv(243, 84%, 74%)
CMYKcmyk(79.9%, 83.6%, 0%, 25.9%)
CIE-LABlab(26.92, 54.70, -78.81)
CIE-LCHlch(26.92, 95.93, 304.76°)
OKLaboklab(39.41% 0.0034 -0.228)
OKLCHoklch(39.41% 0.228 270.9)
XYZxyz(10.4715, 5.0650, 48.5600)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261FBD #B6BD1F
analogous
#1F67BD #261FBD #751FBD
triadic
#261FBD #BD261F #1FBD26
tetradic
#261FBD #BD1F67 #B6BD1F #1FBD75
square
#261FBD #BD1F67 #B6BD1F #1FBD75
split-complementary
#261FBD #BD751F #67BD1F
monochromatic
#110E54 #1B1688 #261FBD #423ADF #746FE7

Accessibility & contrast

On white

10.43
#261FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#261FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261FBD
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261FBD#FFFFFF#000000##FFFFFF
##261FBD1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047C1
Deuteranopia (green-blind)
#0037BA
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #261fbd;
/* rgb */ color: rgb(38, 31, 189);
/* oklch */ color: oklch(39.4% 0.228 270.9);
Tailwind
colors: {
  custom: {
    50: '#7d60d2',
    500: '#261fbd',
    950: '#000000',
  },
}
SCSS
$custom: #261fbd;
$custom-light: #7d60d2;
$custom-dark: #000000;
JSON
{
  "hex": "#261fbd",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 189
  },
  "hsl": {
    "h": 242.658,
    "s": 71.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39414,
    "c": 0.22808,
    "h": 270.9
  },
  "luminance": 0.05066
}

Semantic roles & 50–950 ramp

primary
#261FBD
secondary
#C9CE6A
accent
#EF39E7
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #261FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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