#261F64#261F64

#261F64 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.6% C 0.117 H 281.1°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#261F64
RGBrgb(38, 31, 100)
HSLhsl(246, 53%, 26%)
HSVhsv(246, 69%, 39%)
CMYKcmyk(62%, 69%, 0%, 60.8%)
CIE-LABlab(17.05, 25.30, -39.74)
CIE-LCHlch(17.05, 47.11, 302.49°)
OKLaboklab(29.55% 0.0225 -0.1143)
OKLCHoklch(29.55% 0.117 281.1)
XYZxyz(3.5888, 2.3119, 12.3112)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F64 #5D641F
analogous
#1F3A64 #261F64 #481F64
triadic
#261F64 #64261F #1F6426
tetradic
#261F64 #641F3A #5D641F #1F6448
square
#261F64 #641F3A #5D641F #1F6448
split-complementary
#261F64 #64481F #3A641F
monochromatic
#090717 #141135 #261F64 #382D93 #4A3CC1

Accessibility & contrast

On white

14.36
#261F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#261F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F64
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F64#FFFFFF#000000##FFFFFF
##261F641.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002763
Tritanopia (blue-blind)
#02303E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #261f64;
/* rgb */ color: rgb(38, 31, 100);
/* oklch */ color: oklch(29.6% 0.117 281.1);
Tailwind
colors: {
  custom: {
    50: '#685b91',
    500: '#261f64',
    950: '#000000',
  },
}
SCSS
$custom: #261f64;
$custom-light: #685b91;
$custom-dark: #000000;
JSON
{
  "hex": "#261f64",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 100
  },
  "hsl": {
    "h": 246.087,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29552,
    "c": 0.11651,
    "h": 281.1
  },
  "luminance": 0.02312
}

Semantic roles & 50–950 ramp

primary
#261F64
secondary
#909846
accent
#DC4CCD
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #261F64

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

Preview Lab → · Contrast checker → · Palette generator →

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