#2631A3#2631A3

#2631A3 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.181 H 270.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2631A3
RGBrgb(38, 49, 163)
HSLhsl(235, 62%, 39%)
HSVhsv(235, 77%, 64%)
CMYKcmyk(76.7%, 69.9%, 0%, 36.1%)
CIE-LABlab(27.44, 36.40, -62.38)
CIE-LCHlch(27.44, 72.22, 300.27°)
OKLaboklab(38.94% 0.0019 -0.1805)
OKLCHoklch(38.94% 0.181 270.6)
XYZxyz(8.5062, 5.2521, 35.2087)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2631A3 #A39826
analogous
#2670A3 #2631A3 #5A26A3
triadic
#2631A3 #A32631 #31A326
tetradic
#2631A3 #A32670 #A39826 #26A35A
square
#2631A3 #A32670 #A39826 #26A35A
split-complementary
#2631A3 #A35A26 #70A326
monochromatic
#0F1340 #1A2271 #2631A3 #3644D0 #6872DC

Accessibility & contrast

On white

10.24
#2631A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2631A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2631A3
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2631A3#FFFFFF#000000##FFFFFF
##2631A31.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2631a3;
/* rgb */ color: rgb(38, 49, 163);
/* oklch */ color: oklch(38.9% 0.181 270.6);
Tailwind
colors: {
  custom: {
    50: '#7569bf',
    500: '#2631a3',
    950: '#000000',
  },
}
SCSS
$custom: #2631a3;
$custom-light: #7569bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2631a3",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 234.72,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38939,
    "c": 0.18055,
    "h": 270.6
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#2631A3
secondary
#C2B963
accent
#D743E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2631A3

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

Preview Lab → · Contrast checker → · Palette generator →

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