#261968#261968

#261968 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.130 H 282.1°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#261968
RGBrgb(38, 25, 104)
HSLhsl(250, 61%, 25%)
HSVhsv(250, 76%, 41%)
CMYKcmyk(63.5%, 76%, 0%, 59.2%)
CIE-LABlab(16.04, 30.52, -44.02)
CIE-LCHlch(16.04, 53.56, 304.74°)
OKLaboklab(28.95% 0.0273 -0.1269)
OKLCHoklch(28.95% 0.13 282.1)
XYZxyz(3.6449, 2.1066, 13.3086)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261968 #5B6819
analogous
#193468 #261968 #4D1968
triadic
#261968 #682619 #196826
tetradic
#261968 #681934 #5B6819 #19684D
square
#261968 #681934 #5B6819 #19684D
split-complementary
#261968 #684D19 #346819
monochromatic
#090619 #140D37 #261968 #382599 #4A31CB

Accessibility & contrast

On white

14.77
#261968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#261968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261968
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261968#FFFFFF#000000##FFFFFF
##2619681.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #261968;
/* rgb */ color: rgb(38, 25, 104);
/* oklch */ color: oklch(28.9% 0.130 282.1);
Tailwind
colors: {
  custom: {
    50: '#695794',
    500: '#261968',
    950: '#000000',
  },
}
SCSS
$custom: #261968;
$custom-light: #695794;
$custom-dark: #000000;
JSON
{
  "hex": "#261968",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 249.873,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28947,
    "c": 0.12977,
    "h": 282.1
  },
  "luminance": 0.02107
}

Semantic roles & 50–950 ramp

primary
#261968
secondary
#8E9E3F
accent
#E443CA
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #261968

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

Preview Lab → · Contrast checker → · Palette generator →

#261968 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva