#2645A4#2645A4

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

Color values

HEX#2645A4
RGBrgb(38, 69, 164)
HSLhsl(225, 62%, 40%)
HSVhsv(225, 77%, 64%)
CMYKcmyk(76.8%, 57.9%, 0%, 35.7%)
CIE-LABlab(32.59, 23.64, -54.56)
CIE-LCHlch(32.59, 59.46, 293.43°)
OKLaboklab(42.76% -0.0108 -0.1575)
OKLCHoklch(42.76% 0.158 266.1)
XYZxyz(9.6259, 7.3476, 36.0257)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2645A4 #A48526
analogous
#2684A4 #2645A4 #4626A4
triadic
#2645A4 #A42645 #45A426
tetradic
#2645A4 #A42684 #A48526 #26A446
square
#2645A4 #A42684 #A48526 #26A446
split-complementary
#2645A4 #A44626 #84A426
monochromatic
#0F1B41 #1A3072 #2645A4 #375DD1 #6885DC

Accessibility & contrast

On white

8.50
#2645A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2645A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2645A4
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2645A4#FFFFFF#000000##FFFFFF
##2645A41.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#0047A2
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2645a4;
/* rgb */ color: rgb(38, 69, 164);
/* oklch */ color: oklch(42.8% 0.158 266.1);
Tailwind
colors: {
  custom: {
    50: '#7478c0',
    500: '#2645a4',
    950: '#000000',
  },
}
SCSS
$custom: #2645a4;
$custom-light: #7478c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2645a4",
  "rgb": {
    "r": 38,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 225.238,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4276,
    "c": 0.15783,
    "h": 266.1
  },
  "luminance": 0.07349
}

Semantic roles & 50–950 ramp

primary
#2645A4
secondary
#C2AB64
accent
#BD42E5
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2645A4

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

Preview Lab → · Contrast checker → · Palette generator →

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