#261972#261972

#261972 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.143 H 280.0°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#261972
RGBrgb(38, 25, 114)
HSLhsl(249, 64%, 27%)
HSVhsv(249, 78%, 45%)
CMYKcmyk(66.7%, 78.1%, 0%, 55.3%)
CIE-LABlab(17.09, 33.89, -48.80)
CIE-LCHlch(17.09, 59.41, 304.78°)
OKLaboklab(30.01% 0.0249 -0.1408)
OKLCHoklch(30.01% 0.143 280)
XYZxyz(4.1833, 2.3219, 16.1441)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261972 #657219
analogous
#193972 #261972 #531972
triadic
#261972 #722619 #197226
tetradic
#261972 #721939 #657219 #197253
square
#261972 #721939 #657219 #197253
split-complementary
#261972 #725319 #397219
monochromatic
#080619 #150E40 #261972 #3724A4 #4A33D2

Accessibility & contrast

On white

14.34
#261972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261972
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261972#FFFFFF#000000##FFFFFF
##2619721.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261972;
/* rgb */ color: rgb(38, 25, 114);
/* oklch */ color: oklch(30.0% 0.143 280.0);
Tailwind
colors: {
  custom: {
    50: '#6c589c',
    500: '#261972',
    950: '#000000',
  },
}
SCSS
$custom: #261972;
$custom-light: #6c589c;
$custom-dark: #000000;
JSON
{
  "hex": "#261972",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 248.764,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30014,
    "c": 0.14302,
    "h": 280
  },
  "luminance": 0.02322
}

Semantic roles & 50–950 ramp

primary
#261972
secondary
#98A740
accent
#E741CF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #261972

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

Preview Lab → · Contrast checker → · Palette generator →

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