#261FB3#261FB3

#261FB3 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.2% C 0.217 H 271.5°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#261FB3
RGBrgb(38, 31, 179)
HSLhsl(243, 70%, 41%)
HSVhsv(243, 83%, 70%)
CMYKcmyk(78.8%, 82.7%, 0%, 29.8%)
CIE-LABlab(25.70, 51.67, -74.88)
CIE-LCHlch(25.70, 90.98, 304.61°)
OKLaboklab(38.22% 0.0058 -0.2167)
OKLCHoklch(38.22% 0.217 271.5)
XYZxyz(9.4233, 4.6457, 43.0391)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261FB3 #ACB31F
analogous
#1F62B3 #261FB3 #701FB3
triadic
#261FB3 #B3261F #1FB326
tetradic
#261FB3 #B31F62 #ACB31F #1FB370
square
#261FB3 #B31F62 #ACB31F #1FB370
split-complementary
#261FB3 #B3701F #62B31F
monochromatic
#100D4B #1B167F #261FB3 #3B33DC #6E68E5

Accessibility & contrast

On white

10.88
#261FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#261FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261FB3
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261FB3#FFFFFF#000000##FFFFFF
##261FB31.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #261fb3;
/* rgb */ color: rgb(38, 31, 179);
/* oklch */ color: oklch(38.2% 0.217 271.5);
Tailwind
colors: {
  custom: {
    50: '#7b5fcb',
    500: '#261fb3',
    950: '#000000',
  },
}
SCSS
$custom: #261fb3;
$custom-light: #7b5fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#261fb3",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 179
  },
  "hsl": {
    "h": 242.838,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38223,
    "c": 0.21677,
    "h": 271.5
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#261FB3
secondary
#C5CA64
accent
#ED3BE5
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #261FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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