#261773#261773

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

Color values

HEX#261773
RGBrgb(38, 23, 115)
HSLhsl(250, 67%, 27%)
HSVhsv(250, 80%, 45%)
CMYKcmyk(67%, 80%, 0%, 54.9%)
CIE-LABlab(16.81, 35.35, -49.92)
CIE-LCHlch(16.81, 61.16, 305.30°)
OKLaboklab(29.85% 0.026 -0.1441)
OKLCHoklch(29.85% 0.146 280.2)
XYZxyz(4.1993, 2.2623, 16.4317)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261773 #647317
analogous
#173673 #261773 #541773
triadic
#261773 #732617 #177326
tetradic
#261773 #731736 #647317 #177354
square
#261773 #731736 #647317 #177354
split-complementary
#261773 #735417 #367317
monochromatic
#08051A #150D40 #261773 #3721A6 #4A2FD5

Accessibility & contrast

On white

14.46
#261773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#261773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261773
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261773#FFFFFF#000000##FFFFFF
##2617731.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002671
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #261773;
/* rgb */ color: rgb(38, 23, 115);
/* oklch */ color: oklch(29.8% 0.146 280.2);
Tailwind
colors: {
  custom: {
    50: '#6c579c',
    500: '#261773',
    950: '#000000',
  },
}
SCSS
$custom: #261773;
$custom-light: #6c579c;
$custom-dark: #000000;
JSON
{
  "hex": "#261773",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 249.783,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29846,
    "c": 0.1464,
    "h": 280.2
  },
  "luminance": 0.02263
}

Semantic roles & 50–950 ramp

primary
#261773
secondary
#97A93D
accent
#EA3ECE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #261773

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

Preview Lab → · Contrast checker → · Palette generator →

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