#2631BD#2631BD

#2631BD is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.7% C 0.213 H 269.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2631BD
RGBrgb(38, 49, 189)
HSLhsl(236, 67%, 45%)
HSVhsv(236, 80%, 74%)
CMYKcmyk(79.9%, 74.1%, 0%, 25.9%)
CIE-LABlab(30.11, 45.49, -73.51)
CIE-LCHlch(30.11, 86.45, 301.75°)
OKLaboklab(41.65% -0.0015 -0.213)
OKLCHoklch(41.65% 0.213 269.6)
XYZxyz(11.0798, 6.2815, 48.7628)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2631BD #BDB226
analogous
#267DBD #2631BD #6726BD
triadic
#2631BD #BD2631 #31BD26
tetradic
#2631BD #BD267D #BDB226 #26BD67
square
#2631BD #BD267D #BDB226 #26BD67
split-complementary
#2631BD #BD6726 #7DBD26
monochromatic
#121757 #1C248A #2631BD #4651DA #7981E4

Accessibility & contrast

On white

9.31
#2631BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2631BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2631BD
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2631BD#FFFFFF#000000##FFFFFF
##2631BD1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#003FBB
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2631bd;
/* rgb */ color: rgb(38, 49, 189);
/* oklch */ color: oklch(41.7% 0.213 269.6);
Tailwind
colors: {
  custom: {
    50: '#7c6ad2',
    500: '#2631bd',
    950: '#000000',
  },
}
SCSS
$custom: #2631bd;
$custom-light: #7c6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2631bd",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 235.629,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41653,
    "c": 0.21297,
    "h": 269.6
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#2631BD
secondary
#CCC573
accent
#DD3EE9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2631BD

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

Preview Lab → · Contrast checker → · Palette generator →

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