#2631A5#2631A5

#2631A5 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.183 H 270.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2631A5
RGBrgb(38, 49, 165)
HSLhsl(235, 63%, 40%)
HSVhsv(235, 77%, 65%)
CMYKcmyk(77%, 70.3%, 0%, 35.3%)
CIE-LABlab(27.64, 37.12, -63.26)
CIE-LCHlch(27.64, 73.35, 300.40°)
OKLaboklab(39.14% 0.0016 -0.1831)
OKLCHoklch(39.14% 0.183 270.5)
XYZxyz(8.6869, 5.3244, 36.1599)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2631A5 #A59A26
analogous
#2671A5 #2631A5 #5A26A5
triadic
#2631A5 #A52631 #31A526
tetradic
#2631A5 #A52671 #A59A26 #26A55A
square
#2631A5 #A52671 #A59A26 #26A55A
split-complementary
#2631A5 #A55A26 #71A526
monochromatic
#0F1342 #1B2273 #2631A5 #3745D1 #6973DC

Accessibility & contrast

On white

10.17
#2631A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2631A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2631A5
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2631A5#FFFFFF#000000##FFFFFF
##2631A51.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2631a5;
/* rgb */ color: rgb(38, 49, 165);
/* oklch */ color: oklch(39.1% 0.183 270.5);
Tailwind
colors: {
  custom: {
    50: '#7669c1',
    500: '#2631a5',
    950: '#000000',
  },
}
SCSS
$custom: #2631a5;
$custom-light: #7669c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2631a5",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 234.803,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39142,
    "c": 0.18313,
    "h": 270.5
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#2631A5
secondary
#C3BA64
accent
#D742E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2631A5

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

Preview Lab → · Contrast checker → · Palette generator →

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