#2631C7#2631C7

#2631C7 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.7% C 0.225 H 269.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2631C7
RGBrgb(38, 49, 199)
HSLhsl(236, 68%, 46%)
HSVhsv(236, 81%, 78%)
CMYKcmyk(80.9%, 75.4%, 0%, 22%)
CIE-LABlab(31.19, 48.85, -77.61)
CIE-LCHlch(31.19, 91.71, 302.19°)
OKLaboklab(42.73% -0.003 -0.2249)
OKLCHoklch(42.73% 0.225 269.2)
XYZxyz(12.2029, 6.7308, 54.6778)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2631C7 #C7BC26
analogous
#2682C7 #2631C7 #6C26C7
triadic
#2631C7 #C72631 #31C726
tetradic
#2631C7 #C72682 #C7BC26 #26C76C
square
#2631C7 #C72682 #C7BC26 #26C76C
split-complementary
#2631C7 #C76C26 #82C726
monochromatic
#121860 #1C2494 #2631C7 #4D57DD #8188E7

Accessibility & contrast

On white

8.95
#2631C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2631C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2631C7
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2631C7#FFFFFF#000000##FFFFFF
##2631C71.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CB
Deuteranopia (green-blind)
#0041C4
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2631c7;
/* rgb */ color: rgb(38, 49, 199);
/* oklch */ color: oklch(42.7% 0.225 269.2);
Tailwind
colors: {
  custom: {
    50: '#7e6bd9',
    500: '#2631c7',
    950: '#000000',
  },
}
SCSS
$custom: #2631c7;
$custom-light: #7e6bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2631c7",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 199
  },
  "hsl": {
    "h": 235.901,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42733,
    "c": 0.22489,
    "h": 269.2
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#2631C7
secondary
#CFCA79
accent
#DF3DEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2631C7

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

Preview Lab → · Contrast checker → · Palette generator →

#2631C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva