#261F98#261F98

#261F98 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.185 H 273.8°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#261F98
RGBrgb(38, 31, 152)
HSLhsl(243, 66%, 36%)
HSVhsv(243, 80%, 60%)
CMYKcmyk(75%, 79.6%, 0%, 40.4%)
CIE-LABlab(22.51, 43.15, -63.81)
CIE-LCHlch(22.51, 77.03, 304.07°)
OKLaboklab(35.08% 0.0122 -0.1846)
OKLCHoklch(35.08% 0.185 273.8)
XYZxyz(6.9549, 3.6583, 30.0393)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F98 #91981F
analogous
#1F5498 #261F98 #621F98
triadic
#261F98 #98261F #1F9826
tetradic
#261F98 #981F54 #91981F #1F9862
square
#261F98 #981F54 #91981F #1F9862
split-complementary
#261F98 #98621F #54981F
monochromatic
#0D0A32 #191565 #261F98 #3329CB #5D55DC

Accessibility & contrast

On white

12.13
#261F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#261F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F98
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F98#FFFFFF#000000##FFFFFF
##261F981.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9B
Deuteranopia (green-blind)
#003096
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #261f98;
/* rgb */ color: rgb(38, 31, 152);
/* oklch */ color: oklch(35.1% 0.185 273.8);
Tailwind
colors: {
  custom: {
    50: '#745eb8',
    500: '#261f98',
    950: '#000000',
  },
}
SCSS
$custom: #261f98;
$custom-light: #745eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#261f98",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 152
  },
  "hsl": {
    "h": 243.471,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35078,
    "c": 0.18498,
    "h": 273.8
  },
  "luminance": 0.03659
}

Semantic roles & 50–950 ramp

primary
#261F98
secondary
#BAC053
accent
#E93FDF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #261F98

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

Preview Lab → · Contrast checker → · Palette generator →

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