#2645A7#2645A7

#2645A7 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.162 H 266.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2645A7
RGBrgb(38, 69, 167)
HSLhsl(226, 63%, 40%)
HSVhsv(226, 77%, 65%)
CMYKcmyk(77.2%, 58.7%, 0%, 34.5%)
CIE-LABlab(32.83, 24.80, -55.97)
CIE-LCHlch(32.83, 61.22, 293.90°)
OKLaboklab(43.02% -0.0107 -0.1616)
OKLCHoklch(43.02% 0.162 266.2)
XYZxyz(9.9001, 7.4572, 37.4693)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2645A7 #A78826
analogous
#2686A7 #2645A7 #4726A7
triadic
#2645A7 #A72645 #45A726
tetradic
#2645A7 #A72686 #A78826 #26A747
square
#2645A7 #A72686 #A78826 #26A747
split-complementary
#2645A7 #A74726 #86A726
monochromatic
#0F1C43 #1B3075 #2645A7 #385DD2 #6A86DD

Accessibility & contrast

On white

8.43
#2645A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2645A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2645A7
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2645A7#FFFFFF#000000##FFFFFF
##2645A71.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2645a7;
/* rgb */ color: rgb(38, 69, 167);
/* oklch */ color: oklch(43.0% 0.162 266.2);
Tailwind
colors: {
  custom: {
    50: '#7578c2',
    500: '#2645a7',
    950: '#000000',
  },
}
SCSS
$custom: #2645a7;
$custom-light: #7578c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2645a7",
  "rgb": {
    "r": 38,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 225.581,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43015,
    "c": 0.16196,
    "h": 266.2
  },
  "luminance": 0.07458
}

Semantic roles & 50–950 ramp

primary
#2645A7
secondary
#C3AD65
accent
#BF42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2645A7

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

Preview Lab → · Contrast checker → · Palette generator →

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