#2645AB#2645AB

#2645AB is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.167 H 266.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2645AB
RGBrgb(38, 69, 171)
HSLhsl(226, 64%, 41%)
HSVhsv(226, 78%, 67%)
CMYKcmyk(77.8%, 59.6%, 0%, 32.9%)
CIE-LABlab(33.15, 26.33, -57.83)
CIE-LCHlch(33.15, 63.54, 294.48°)
OKLaboklab(43.36% -0.0106 -0.1671)
OKLCHoklch(43.36% 0.167 266.4)
XYZxyz(10.2756, 7.6074, 39.4470)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2645AB #AB8C26
analogous
#2687AB #2645AB #4926AB
triadic
#2645AB #AB2645 #45AB26
tetradic
#2645AB #AB2687 #AB8C26 #26AB49
square
#2645AB #AB2687 #AB8C26 #26AB49
split-complementary
#2645AB #AB4926 #87AB26
monochromatic
#101D47 #1B3179 #2645AB #3B5ED3 #6D87DF

Accessibility & contrast

On white

8.33
#2645AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2645AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2645AB
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2645AB#FFFFFF#000000##FFFFFF
##2645AB1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2645ab;
/* rgb */ color: rgb(38, 69, 171);
/* oklch */ color: oklch(43.4% 0.167 266.4);
Tailwind
colors: {
  custom: {
    50: '#7678c5',
    500: '#2645ab',
    950: '#000000',
  },
}
SCSS
$custom: #2645ab;
$custom-light: #7678c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2645ab",
  "rgb": {
    "r": 38,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 226.015,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4336,
    "c": 0.16741,
    "h": 266.4
  },
  "luminance": 0.07609
}

Semantic roles & 50–950 ramp

primary
#2645AB
secondary
#C5AF68
accent
#C041E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2645AB

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

Preview Lab → · Contrast checker → · Palette generator →

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