#2631A7#2631A7

#2631A7 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.186 H 270.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#2631A7
RGBrgb(38, 49, 167)
HSLhsl(235, 63%, 40%)
HSVhsv(235, 77%, 65%)
CMYKcmyk(77.2%, 70.7%, 0%, 34.5%)
CIE-LABlab(27.84, 37.84, -64.14)
CIE-LCHlch(27.84, 74.47, 300.54°)
OKLaboklab(39.35% 0.0014 -0.1857)
OKLCHoklch(39.35% 0.186 270.4)
XYZxyz(8.8703, 5.3977, 37.1261)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2631A7 #A79C26
analogous
#2671A7 #2631A7 #5C26A7
triadic
#2631A7 #A72631 #31A726
tetradic
#2631A7 #A72671 #A79C26 #26A75C
square
#2631A7 #A72671 #A79C26 #26A75C
split-complementary
#2631A7 #A75C26 #71A726
monochromatic
#0F1443 #1B2275 #2631A7 #3845D2 #6A74DD

Accessibility & contrast

On white

10.10
#2631A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2631A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2631A7
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2631A7#FFFFFF#000000##FFFFFF
##2631A71.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2631a7;
/* rgb */ color: rgb(38, 49, 167);
/* oklch */ color: oklch(39.3% 0.186 270.4);
Tailwind
colors: {
  custom: {
    50: '#766ac2',
    500: '#2631a7',
    950: '#000000',
  },
}
SCSS
$custom: #2631a7;
$custom-light: #766ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2631a7",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 167
  },
  "hsl": {
    "h": 234.884,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39346,
    "c": 0.18569,
    "h": 270.4
  },
  "luminance": 0.05399
}

Semantic roles & 50–950 ramp

primary
#2631A7
secondary
#C3BB65
accent
#D842E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2631A7

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

Preview Lab → · Contrast checker → · Palette generator →

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