#261F75#261F75

#261F75 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.140 H 278.1°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#261F75
RGBrgb(38, 31, 117)
HSLhsl(245, 58%, 29%)
HSVhsv(245, 74%, 46%)
CMYKcmyk(67.5%, 73.5%, 0%, 54.1%)
CIE-LABlab(18.70, 31.32, -48.10)
CIE-LCHlch(18.70, 57.39, 303.07°)
OKLaboklab(31.25% 0.0199 -0.1388)
OKLCHoklch(31.25% 0.14 278.1)
XYZxyz(4.4992, 2.6760, 17.1056)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F75 #6E751F
analogous
#1F4375 #261F75 #511F75
triadic
#261F75 #75261F #1F7526
tetradic
#261F75 #751F43 #6E751F #1F7551
square
#261F75 #751F43 #6E751F #1F7551
split-complementary
#261F75 #75511F #43751F
monochromatic
#080618 #161245 #261F75 #362CA5 #4D42CD

Accessibility & contrast

On white

13.68
#261F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#261F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F75
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F75#FFFFFF#000000##FFFFFF
##261F751.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#002A73
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261f75;
/* rgb */ color: rgb(38, 31, 117);
/* oklch */ color: oklch(31.2% 0.140 278.1);
Tailwind
colors: {
  custom: {
    50: '#6c5c9e',
    500: '#261f75',
    950: '#000000',
  },
}
SCSS
$custom: #261f75;
$custom-light: #6c5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#261f75",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 244.884,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31249,
    "c": 0.14022,
    "h": 278.1
  },
  "luminance": 0.02676
}

Semantic roles & 50–950 ramp

primary
#261F75
secondary
#A1A947
accent
#E146D5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #261F75

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

Preview Lab → · Contrast checker → · Palette generator →

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