#2638BD#2638BD

#2638BD is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 42.7% C 0.206 H 268.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2638BD
RGBrgb(38, 56, 189)
HSLhsl(233, 67%, 45%)
HSVhsv(233, 80%, 74%)
CMYKcmyk(79.9%, 70.4%, 0%, 25.9%)
CIE-LABlab(31.61, 41.34, -71.04)
CIE-LCHlch(31.61, 82.20, 300.19°)
OKLaboklab(42.73% -0.0042 -0.2058)
OKLCHoklch(42.73% 0.206 268.8)
XYZxyz(11.3956, 6.9132, 48.8680)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2638BD #BDAB26
analogous
#2683BD #2638BD #6026BD
triadic
#2638BD #BD2638 #38BD26
tetradic
#2638BD #BD2683 #BDAB26 #26BD60
square
#2638BD #BD2683 #BDAB26 #26BD60
split-complementary
#2638BD #BD6026 #83BD26
monochromatic
#121A57 #1C298A #2638BD #4658DA #7986E4

Accessibility & contrast

On white

8.81
#2638BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2638BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2638BD
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2638BD#FFFFFF#000000##FFFFFF
##2638BD1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0043BB
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2638bd;
/* rgb */ color: rgb(38, 56, 189);
/* oklch */ color: oklch(42.7% 0.206 268.8);
Tailwind
colors: {
  custom: {
    50: '#7b6fd2',
    500: '#2638bd',
    950: '#000000',
  },
}
SCSS
$custom: #2638bd;
$custom-light: #7b6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2638bd",
  "rgb": {
    "r": 38,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 232.848,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42726,
    "c": 0.20584,
    "h": 268.8
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#2638BD
secondary
#CCC173
accent
#D53EE9
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2638BD

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

Preview Lab → · Contrast checker → · Palette generator →

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