#2645A5#2645A5

#2645A5 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.159 H 266.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2645A5
RGBrgb(38, 69, 165)
HSLhsl(225, 63%, 40%)
HSVhsv(225, 77%, 65%)
CMYKcmyk(77%, 58.2%, 0%, 35.3%)
CIE-LABlab(32.67, 24.03, -55.03)
CIE-LCHlch(32.67, 60.05, 293.59°)
OKLaboklab(42.84% -0.0108 -0.1588)
OKLCHoklch(42.84% 0.159 266.1)
XYZxyz(9.7166, 7.3838, 36.5031)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2645A5 #A58626
analogous
#2685A5 #2645A5 #4626A5
triadic
#2645A5 #A52645 #45A526
tetradic
#2645A5 #A52685 #A58626 #26A546
square
#2645A5 #A52685 #A58626 #26A546
split-complementary
#2645A5 #A54626 #85A526
monochromatic
#0F1B42 #1B3073 #2645A5 #375DD1 #6985DC

Accessibility & contrast

On white

8.48
#2645A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2645A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2645A5
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2645A5#FFFFFF#000000##FFFFFF
##2645A51.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2645a5;
/* rgb */ color: rgb(38, 69, 165);
/* oklch */ color: oklch(42.8% 0.159 266.1);
Tailwind
colors: {
  custom: {
    50: '#7478c0',
    500: '#2645a5',
    950: '#000000',
  },
}
SCSS
$custom: #2645a5;
$custom-light: #7478c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2645a5",
  "rgb": {
    "r": 38,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 225.354,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42844,
    "c": 0.15922,
    "h": 266.1
  },
  "luminance": 0.07385
}

Semantic roles & 50–950 ramp

primary
#2645A5
secondary
#C3AC64
accent
#BE42E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2645A5

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

Preview Lab → · Contrast checker → · Palette generator →

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