#261F74#261F74

#261F74 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.139 H 278.3°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#261F74
RGBrgb(38, 31, 116)
HSLhsl(245, 58%, 29%)
HSVhsv(245, 73%, 45%)
CMYKcmyk(67.2%, 73.3%, 0%, 54.5%)
CIE-LABlab(18.60, 30.97, -47.62)
CIE-LCHlch(18.60, 56.80, 303.04°)
OKLaboklab(31.15% 0.02 -0.1374)
OKLCHoklch(31.15% 0.139 278.3)
XYZxyz(4.4407, 2.6526, 16.7976)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F74 #6D741F
analogous
#1F4374 #261F74 #511F74
triadic
#261F74 #74261F #1F7426
tetradic
#261F74 #741F43 #6D741F #1F7451
square
#261F74 #741F43 #6D741F #1F7451
split-complementary
#261F74 #74511F #43741F
monochromatic
#080618 #161244 #261F74 #362CA4 #4D41CC

Accessibility & contrast

On white

13.72
#261F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#261F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F74
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F74#FFFFFF#000000##FFFFFF
##261F741.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261f74;
/* rgb */ color: rgb(38, 31, 116);
/* oklch */ color: oklch(31.1% 0.139 278.3);
Tailwind
colors: {
  custom: {
    50: '#6c5c9d',
    500: '#261f74',
    950: '#000000',
  },
}
SCSS
$custom: #261f74;
$custom-light: #6c5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#261f74",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 244.941,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31145,
    "c": 0.13887,
    "h": 278.3
  },
  "luminance": 0.02653
}

Semantic roles & 50–950 ramp

primary
#261F74
secondary
#A0A847
accent
#E147D4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #261F74

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

Preview Lab → · Contrast checker → · Palette generator →

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