#261872#261872

#261872 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.144 H 280.2°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#261872
RGBrgb(38, 24, 114)
HSLhsl(249, 65%, 27%)
HSVhsv(249, 79%, 45%)
CMYKcmyk(66.7%, 78.9%, 0%, 55.3%)
CIE-LABlab(16.89, 34.46, -49.13)
CIE-LCHlch(16.89, 60.01, 305.05°)
OKLaboklab(29.87% 0.0256 -0.1418)
OKLCHoklch(29.87% 0.144 280.2)
XYZxyz(4.1623, 2.2799, 16.1371)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261872 #647218
analogous
#183772 #261872 #531872
triadic
#261872 #722618 #187226
tetradic
#261872 #721837 #647218 #187253
square
#261872 #721837 #647218 #187253
split-complementary
#261872 #725318 #377218
monochromatic
#080519 #150D3F #261872 #3723A5 #4A31D4

Accessibility & contrast

On white

14.42
#261872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#261872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261872
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261872#FFFFFF#000000##FFFFFF
##2618721.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002670
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #261872;
/* rgb */ color: rgb(38, 24, 114);
/* oklch */ color: oklch(29.9% 0.144 280.2);
Tailwind
colors: {
  custom: {
    50: '#6c579c',
    500: '#261872',
    950: '#000000',
  },
}
SCSS
$custom: #261872;
$custom-light: #6c579c;
$custom-dark: #000000;
JSON
{
  "hex": "#261872",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 249.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29873,
    "c": 0.14408,
    "h": 280.2
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#261872
secondary
#97A73E
accent
#E840CE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #261872

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

Preview Lab → · Contrast checker → · Palette generator →

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