#2631AD#2631AD

#2631AD is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.193 H 270.2°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2631AD
RGBrgb(38, 49, 173)
HSLhsl(235, 64%, 41%)
HSVhsv(235, 78%, 68%)
CMYKcmyk(78%, 71.7%, 0%, 32.2%)
CIE-LABlab(28.45, 39.96, -66.75)
CIE-LCHlch(28.45, 77.79, 300.91°)
OKLaboklab(39.97% 0.0007 -0.1933)
OKLCHoklch(39.97% 0.193 270.2)
XYZxyz(9.4379, 5.6248, 40.1153)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2631AD #ADA226
analogous
#2675AD #2631AD #5F26AD
triadic
#2631AD #AD2631 #31AD26
tetradic
#2631AD #AD2675 #ADA226 #26AD5F
square
#2631AD #AD2675 #ADA226 #26AD5F
split-complementary
#2631AD #AD5F26 #75AD26
monochromatic
#101549 #1B237B #2631AD #3C48D4 #6E77DF

Accessibility & contrast

On white

9.88
#2631AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2631AD
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2631AD#FFFFFF#000000##FFFFFF
##2631AD1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB1
Deuteranopia (green-blind)
#003CAB
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2631ad;
/* rgb */ color: rgb(38, 49, 173);
/* oklch */ color: oklch(40.0% 0.193 270.2);
Tailwind
colors: {
  custom: {
    50: '#786ac7',
    500: '#2631ad',
    950: '#000000',
  },
}
SCSS
$custom: #2631ad;
$custom-light: #786ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2631ad",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 235.111,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39965,
    "c": 0.19328,
    "h": 270.2
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#2631AD
secondary
#C6BE69
accent
#D941E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2631AD

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

Preview Lab → · Contrast checker → · Palette generator →

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