#2645AE#2645AE

#2645AE is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.171 H 266.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2645AE
RGBrgb(38, 69, 174)
HSLhsl(226, 64%, 42%)
HSVhsv(226, 78%, 68%)
CMYKcmyk(78.2%, 60.3%, 0%, 31.8%)
CIE-LABlab(33.40, 27.48, -59.22)
CIE-LCHlch(33.40, 65.28, 294.89°)
OKLaboklab(43.62% -0.0105 -0.1711)
OKLCHoklch(43.62% 0.171 266.5)
XYZxyz(10.5648, 7.7231, 40.9701)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2645AE #AE8F26
analogous
#2689AE #2645AE #4B26AE
triadic
#2645AE #AE2645 #45AE26
tetradic
#2645AE #AE2689 #AE8F26 #26AE4B
square
#2645AE #AE2689 #AE8F26 #26AE4B
split-complementary
#2645AE #AE4B26 #89AE26
monochromatic
#101D4A #1B317C #2645AE #3D5FD5 #6F89E0

Accessibility & contrast

On white

8.25
#2645AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2645AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2645AE
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2645AE#FFFFFF#000000##FFFFFF
##2645AE1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2645ae;
/* rgb */ color: rgb(38, 69, 174);
/* oklch */ color: oklch(43.6% 0.171 266.5);
Tailwind
colors: {
  custom: {
    50: '#7678c7',
    500: '#2645ae',
    950: '#000000',
  },
}
SCSS
$custom: #2645ae;
$custom-light: #7678c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2645ae",
  "rgb": {
    "r": 38,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 226.324,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43622,
    "c": 0.17145,
    "h": 266.5
  },
  "luminance": 0.07724
}

Semantic roles & 50–950 ramp

primary
#2645AE
secondary
#C6B16A
accent
#C141E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2645AE

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

Preview Lab → · Contrast checker → · Palette generator →

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