#261F5E#261F5E

#261F5E is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.0% C 0.108 H 282.4°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#261F5E
RGBrgb(38, 31, 94)
HSLhsl(247, 50%, 25%)
HSVhsv(247, 67%, 37%)
CMYKcmyk(59.6%, 67%, 0%, 63.1%)
CIE-LABlab(16.50, 23.16, -36.65)
CIE-LCHlch(16.50, 43.35, 302.30°)
OKLaboklab(28.99% 0.0231 -0.1052)
OKLCHoklch(28.99% 0.108 282.4)
XYZxyz(3.3091, 2.2000, 10.8378)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F5E #575E1F
analogous
#1F385E #261F5E #461F5E
triadic
#261F5E #5E261F #1F5E26
tetradic
#261F5E #5E1F38 #575E1F #1F5E46
square
#261F5E #5E1F38 #575E1F #1F5E46
split-complementary
#261F5E #5E461F #385E1F
monochromatic
#090817 #131030 #261F5E #392E8C #4B3DBA

Accessibility & contrast

On white

14.58
#261F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#261F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F5E
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F5E#FFFFFF#000000##FFFFFF
##261F5E1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#0B2E3B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #261f5e;
/* rgb */ color: rgb(38, 31, 94);
/* oklch */ color: oklch(29.0% 0.108 282.4);
Tailwind
colors: {
  custom: {
    50: '#675b8c',
    500: '#261f5e',
    950: '#000000',
  },
}
SCSS
$custom: #261f5e;
$custom-light: #675b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#261f5e",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 246.667,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28988,
    "c": 0.10775,
    "h": 282.4
  },
  "luminance": 0.022
}

Semantic roles & 50–950 ramp

primary
#261F5E
secondary
#8A9346
accent
#DA4ECA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #261F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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