#261F6E#261F6E

#261F6E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.131 H 279.3°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#261F6E
RGBrgb(38, 31, 110)
HSLhsl(245, 56%, 28%)
HSVhsv(245, 72%, 43%)
CMYKcmyk(65.5%, 71.8%, 0%, 56.9%)
CIE-LABlab(18.00, 28.86, -44.72)
CIE-LCHlch(18.00, 53.22, 302.83°)
OKLaboklab(30.53% 0.0211 -0.1289)
OKLCHoklch(30.53% 0.131 279.3)
XYZxyz(4.1029, 2.5175, 15.0185)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F6E #676E1F
analogous
#1F406E #261F6E #4D1F6E
triadic
#261F6E #6E261F #1F6E26
tetradic
#261F6E #6E1F40 #676E1F #1F6E4D
square
#261F6E #6E1F40 #676E1F #1F6E4D
split-complementary
#261F6E #6E4D1F #406E1F
monochromatic
#080718 #16123E #261F6E #362C9E #4B3FC9

Accessibility & contrast

On white

13.97
#261F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#261F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F6E
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F6E#FFFFFF#000000##FFFFFF
##261F6E1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00296C
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #261f6e;
/* rgb */ color: rgb(38, 31, 110);
/* oklch */ color: oklch(30.5% 0.131 279.3);
Tailwind
colors: {
  custom: {
    50: '#6a5b98',
    500: '#261f6e',
    950: '#000000',
  },
}
SCSS
$custom: #261f6e;
$custom-light: #6a5b98;
$custom-dark: #000000;
JSON
{
  "hex": "#261f6e",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 110
  },
  "hsl": {
    "h": 245.316,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30534,
    "c": 0.13065,
    "h": 279.3
  },
  "luminance": 0.02518
}

Semantic roles & 50–950 ramp

primary
#261F6E
secondary
#9AA247
accent
#DF48D2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #261F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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