#261FAF#261FAF

#261FAF is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.8% C 0.212 H 271.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#261FAF
RGBrgb(38, 31, 175)
HSLhsl(243, 70%, 40%)
HSVhsv(243, 82%, 69%)
CMYKcmyk(78.3%, 82.3%, 0%, 31.4%)
CIE-LABlab(25.22, 50.44, -73.29)
CIE-LCHlch(25.22, 88.97, 304.54°)
OKLaboklab(37.75% 0.0067 -0.2121)
OKLCHoklch(37.75% 0.212 271.8)
XYZxyz(9.0246, 4.4862, 40.9394)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261FAF #A8AF1F
analogous
#1F60AF #261FAF #6E1FAF
triadic
#261FAF #AF261F #1FAF26
tetradic
#261FAF #AF1F60 #A8AF1F #1FAF6E
square
#261FAF #AF1F60 #A8AF1F #1FAF6E
split-complementary
#261FAF #AF6E1F #60AF1F
monochromatic
#0F0D47 #1B167B #261FAF #3931DA #6B65E4

Accessibility & contrast

On white

11.07
#261FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#261FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261FAF
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261FAF#FFFFFF#000000##FFFFFF
##261FAF1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B3
Deuteranopia (green-blind)
#0035AD
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #261faf;
/* rgb */ color: rgb(38, 31, 175);
/* oklch */ color: oklch(37.8% 0.212 271.8);
Tailwind
colors: {
  custom: {
    50: '#7a5fc8',
    500: '#261faf',
    950: '#000000',
  },
}
SCSS
$custom: #261faf;
$custom-light: #7a5fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#261faf",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 175
  },
  "hsl": {
    "h": 242.917,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37751,
    "c": 0.21219,
    "h": 271.8
  },
  "luminance": 0.04487
}

Semantic roles & 50–950 ramp

primary
#261FAF
secondary
#C4C961
accent
#ED3BE4
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #261FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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