#2645C7#2645C7

#2645C7 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 45.9% C 0.204 H 266.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2645C7
RGBrgb(38, 69, 199)
HSLhsl(228, 68%, 46%)
HSVhsv(228, 81%, 78%)
CMYKcmyk(80.9%, 65.3%, 0%, 22%)
CIE-LABlab(35.58, 36.83, -70.37)
CIE-LCHlch(35.58, 79.43, 297.62°)
OKLaboklab(45.9% -0.0109 -0.2038)
OKLCHoklch(45.9% 0.204 266.9)
XYZxyz(13.2327, 8.7903, 55.0210)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2645C7 #C7A826
analogous
#2696C7 #2645C7 #5826C7
triadic
#2645C7 #C72645 #45C726
tetradic
#2645C7 #C72696 #C7A826 #26C758
square
#2645C7 #C72696 #C7A826 #26C758
split-complementary
#2645C7 #C75826 #96C726
monochromatic
#122160 #1C3394 #2645C7 #4D69DD #8194E7

Accessibility & contrast

On white

7.61
#2645C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2645C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2645C7
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2645C7#FFFFFF#000000##FFFFFF
##2645C71.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCB
Deuteranopia (green-blind)
#004CC5
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2645c7;
/* rgb */ color: rgb(38, 69, 199);
/* oklch */ color: oklch(45.9% 0.204 266.9);
Tailwind
colors: {
  custom: {
    50: '#7d78d9',
    500: '#2645c7',
    950: '#000000',
  },
}
SCSS
$custom: #2645c7;
$custom-light: #7d78d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2645c7",
  "rgb": {
    "r": 38,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 228.447,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45903,
    "c": 0.2041,
    "h": 266.9
  },
  "luminance": 0.08792
}

Semantic roles & 50–950 ramp

primary
#2645C7
secondary
#CFBF79
accent
#C93DEB
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #2645C7

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

Preview Lab → · Contrast checker → · Palette generator →

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