#261F94#261F94

#261F94 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.180 H 274.2°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#261F94
RGBrgb(38, 31, 148)
HSLhsl(244, 65%, 35%)
HSVhsv(244, 79%, 58%)
CMYKcmyk(74.3%, 79.1%, 0%, 42%)
CIE-LABlab(22.05, 41.84, -62.10)
CIE-LCHlch(22.05, 74.88, 303.97°)
OKLaboklab(34.62% 0.0132 -0.1796)
OKLCHoklch(34.62% 0.18 274.2)
XYZxyz(6.6328, 3.5295, 28.3429)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F94 #8D941F
analogous
#1F5294 #261F94 #611F94
triadic
#261F94 #94261F #1F9426
tetradic
#261F94 #941F52 #8D941F #1F9461
square
#261F94 #941F52 #8D941F #1F9461
split-complementary
#261F94 #94611F #52941F
monochromatic
#0C0A2F #191461 #261F94 #332AC7 #5B53DB

Accessibility & contrast

On white

12.31
#261F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#261F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F94
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F94#FFFFFF#000000##FFFFFF
##261F941.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#002F92
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #261f94;
/* rgb */ color: rgb(38, 31, 148);
/* oklch */ color: oklch(34.6% 0.180 274.2);
Tailwind
colors: {
  custom: {
    50: '#735db5',
    500: '#261f94',
    950: '#000000',
  },
}
SCSS
$custom: #261f94;
$custom-light: #735db5;
$custom-dark: #000000;
JSON
{
  "hex": "#261f94",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 243.59,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34624,
    "c": 0.1801,
    "h": 274.2
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#261F94
secondary
#B8BE51
accent
#E83FDE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #261F94

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

Preview Lab → · Contrast checker → · Palette generator →

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