#2638C3#2638C3

#2638C3 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.3% C 0.213 H 268.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2638C3
RGBrgb(38, 56, 195)
HSLhsl(233, 67%, 46%)
HSVhsv(233, 81%, 76%)
CMYKcmyk(80.5%, 71.3%, 0%, 23.5%)
CIE-LABlab(32.21, 43.45, -73.58)
CIE-LCHlch(32.21, 85.45, 300.56°)
OKLaboklab(43.34% -0.0049 -0.2132)
OKLCHoklch(43.34% 0.213 268.7)
XYZxyz(12.0604, 7.1791, 52.3693)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2638C3 #C3B126
analogous
#2686C3 #2638C3 #6226C3
triadic
#2638C3 #C32638 #38C326
tetradic
#2638C3 #C32686 #C3B126 #26C362
square
#2638C3 #C32686 #C3B126 #26C362
split-complementary
#2638C3 #C36226 #86C326
monochromatic
#121B5D #1C2990 #2638C3 #4A5BDC #7E8AE6

Accessibility & contrast

On white

8.62
#2638C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2638C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2638C3
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2638C3#FFFFFF#000000##FFFFFF
##2638C31.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C7
Deuteranopia (green-blind)
#0044C1
Tritanopia (blue-blind)
#00607A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2638c3;
/* rgb */ color: rgb(38, 56, 195);
/* oklch */ color: oklch(43.3% 0.213 268.7);
Tailwind
colors: {
  custom: {
    50: '#7d6fd6',
    500: '#2638c3',
    950: '#000000',
  },
}
SCSS
$custom: #2638c3;
$custom-light: #7d6fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2638c3",
  "rgb": {
    "r": 38,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 233.121,
    "s": 67.382,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43341,
    "c": 0.21324,
    "h": 268.7
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#2638C3
secondary
#CEC477
accent
#D63EEA
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2638C3

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

Preview Lab → · Contrast checker → · Palette generator →

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