#261F6A#261F6A

#261F6A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.125 H 280.0°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#261F6A
RGBrgb(38, 31, 106)
HSLhsl(246, 55%, 27%)
HSVhsv(246, 71%, 42%)
CMYKcmyk(64.2%, 70.8%, 0%, 58.4%)
CIE-LABlab(17.61, 27.44, -42.75)
CIE-LCHlch(17.61, 50.80, 302.69°)
OKLaboklab(30.14% 0.0217 -0.1232)
OKLCHoklch(30.14% 0.125 280)
XYZxyz(3.8900, 2.4324, 13.8974)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F6A #636A1F
analogous
#1F3E6A #261F6A #4C1F6A
triadic
#261F6A #6A261F #1F6A26
tetradic
#261F6A #6A1F3E #636A1F #1F6A4C
square
#261F6A #6A1F3E #636A1F #1F6A4C
split-complementary
#261F6A #6A4C1F #3E6A1F
monochromatic
#080718 #15113B #261F6A #372D99 #4A3DC6

Accessibility & contrast

On white

14.13
#261F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#261F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F6A
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F6A#FFFFFF#000000##FFFFFF
##261F6A1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #261f6a;
/* rgb */ color: rgb(38, 31, 106);
/* oklch */ color: oklch(30.1% 0.125 280.0);
Tailwind
colors: {
  custom: {
    50: '#695b95',
    500: '#261f6a',
    950: '#000000',
  },
}
SCSS
$custom: #261f6a;
$custom-light: #695b95;
$custom-dark: #000000;
JSON
{
  "hex": "#261f6a",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 106
  },
  "hsl": {
    "h": 245.6,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30135,
    "c": 0.12506,
    "h": 280
  },
  "luminance": 0.02433
}

Semantic roles & 50–950 ramp

primary
#261F6A
secondary
#969E47
accent
#DE4AD0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #261F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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