#2638C7#2638C7

#2638C7 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.8% C 0.218 H 268.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2638C7
RGBrgb(38, 56, 199)
HSLhsl(233, 68%, 46%)
HSVhsv(233, 81%, 78%)
CMYKcmyk(80.9%, 71.9%, 0%, 22%)
CIE-LABlab(32.62, 44.84, -75.25)
CIE-LCHlch(32.62, 87.59, 300.79°)
OKLaboklab(43.75% -0.0053 -0.218)
OKLCHoklch(43.75% 0.218 268.6)
XYZxyz(12.5188, 7.3625, 54.7831)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2638C7 #C7B526
analogous
#2689C7 #2638C7 #6526C7
triadic
#2638C7 #C72638 #38C726
tetradic
#2638C7 #C72689 #C7B526 #26C765
square
#2638C7 #C72689 #C7B526 #26C765
split-complementary
#2638C7 #C76526 #89C726
monochromatic
#121B60 #1C2A94 #2638C7 #4D5DDD #818CE7

Accessibility & contrast

On white

8.49
#2638C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2638C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2638C7
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2638C7#FFFFFF#000000##FFFFFF
##2638C71.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#0045C4
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2638c7;
/* rgb */ color: rgb(38, 56, 199);
/* oklch */ color: oklch(43.8% 0.218 268.6);
Tailwind
colors: {
  custom: {
    50: '#7e6fd9',
    500: '#2638c7',
    950: '#000000',
  },
}
SCSS
$custom: #2638c7;
$custom-light: #7e6fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2638c7",
  "rgb": {
    "r": 38,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 233.292,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43754,
    "c": 0.21811,
    "h": 268.6
  },
  "luminance": 0.07364
}

Semantic roles & 50–950 ramp

primary
#2638C7
secondary
#CFC679
accent
#D73DEB
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2638C7

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

Preview Lab → · Contrast checker → · Palette generator →

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