#2631AE#2631AE

#2631AE is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.195 H 270.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2631AE
RGBrgb(38, 49, 174)
HSLhsl(235, 64%, 42%)
HSVhsv(235, 78%, 68%)
CMYKcmyk(78.2%, 71.8%, 0%, 31.8%)
CIE-LABlab(28.55, 40.31, -67.18)
CIE-LCHlch(28.55, 78.34, 300.97°)
OKLaboklab(40.07% 0.0005 -0.1945)
OKLCHoklch(40.07% 0.195 270.2)
XYZxyz(9.5350, 5.6636, 40.6269)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2631AE #AEA326
analogous
#2675AE #2631AE #5F26AE
triadic
#2631AE #AE2631 #31AE26
tetradic
#2631AE #AE2675 #AEA326 #26AE5F
square
#2631AE #AE2675 #AEA326 #26AE5F
split-complementary
#2631AE #AE5F26 #75AE26
monochromatic
#10154A #1B237C #2631AE #3D49D5 #6F78E0

Accessibility & contrast

On white

9.85
#2631AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2631AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2631AE
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2631AE#FFFFFF#000000##FFFFFF
##2631AE1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2631ae;
/* rgb */ color: rgb(38, 49, 174);
/* oklch */ color: oklch(40.1% 0.195 270.2);
Tailwind
colors: {
  custom: {
    50: '#786ac7',
    500: '#2631ae',
    950: '#000000',
  },
}
SCSS
$custom: #2631ae;
$custom-light: #786ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2631ae",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 235.147,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40069,
    "c": 0.19454,
    "h": 270.2
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#2631AE
secondary
#C6BF6A
accent
#DA41E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2631AE

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

Preview Lab → · Contrast checker → · Palette generator →

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