#261F6F#261F6F

#261F6F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.132 H 279.1°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#261F6F
RGBrgb(38, 31, 111)
HSLhsl(245, 56%, 28%)
HSVhsv(245, 72%, 44%)
CMYKcmyk(65.8%, 72.1%, 0%, 56.5%)
CIE-LABlab(18.10, 29.21, -45.21)
CIE-LCHlch(18.10, 53.82, 302.87°)
OKLaboklab(30.63% 0.0209 -0.1304)
OKLCHoklch(30.63% 0.132 279.1)
XYZxyz(4.1576, 2.5394, 15.3069)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F6F #686F1F
analogous
#1F406F #261F6F #4E1F6F
triadic
#261F6F #6F261F #1F6F26
tetradic
#261F6F #6F1F40 #686F1F #1F6F4E
square
#261F6F #6F1F40 #686F1F #1F6F4E
split-complementary
#261F6F #6F4E1F #406F1F
monochromatic
#080718 #16123F #261F6F #362C9F #4B3FC9

Accessibility & contrast

On white

13.93
#261F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#261F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F6F
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F6F#FFFFFF#000000##FFFFFF
##261F6F1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #261f6f;
/* rgb */ color: rgb(38, 31, 111);
/* oklch */ color: oklch(30.6% 0.132 279.1);
Tailwind
colors: {
  custom: {
    50: '#6a5b99',
    500: '#261f6f',
    950: '#000000',
  },
}
SCSS
$custom: #261f6f;
$custom-light: #6a5b99;
$custom-dark: #000000;
JSON
{
  "hex": "#261f6f",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 111
  },
  "hsl": {
    "h": 245.25,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30634,
    "c": 0.13203,
    "h": 279.1
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#261F6F
secondary
#9BA347
accent
#E048D2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #261F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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