#2645B2#2645B2

#2645B2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.177 H 266.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2645B2
RGBrgb(38, 69, 178)
HSLhsl(227, 65%, 42%)
HSVhsv(227, 79%, 70%)
CMYKcmyk(78.7%, 61.2%, 0%, 30.2%)
CIE-LABlab(33.73, 29.00, -61.05)
CIE-LCHlch(33.73, 67.58, 295.41°)
OKLaboklab(43.98% -0.0105 -0.1765)
OKLCHoklch(43.98% 0.177 266.6)
XYZxyz(10.9605, 7.8814, 43.0545)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2645B2 #B29326
analogous
#268BB2 #2645B2 #4D26B2
triadic
#2645B2 #B22645 #45B226
tetradic
#2645B2 #B2268B #B29326 #26B24D
square
#2645B2 #B2268B #B29326 #26B24D
split-complementary
#2645B2 #B24D26 #8BB226
monochromatic
#101E4D #1B3180 #2645B2 #3F61D6 #728AE1

Accessibility & contrast

On white

8.15
#2645B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2645B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2645B2
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2645B2#FFFFFF#000000##FFFFFF
##2645B21.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2645b2;
/* rgb */ color: rgb(38, 69, 178);
/* oklch */ color: oklch(44.0% 0.177 266.6);
Tailwind
colors: {
  custom: {
    50: '#7778ca',
    500: '#2645b2',
    950: '#000000',
  },
}
SCSS
$custom: #2645b2;
$custom-light: #7778ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2645b2",
  "rgb": {
    "r": 38,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 226.714,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43976,
    "c": 0.17681,
    "h": 266.6
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#2645B2
secondary
#C8B36C
accent
#C340E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2645B2

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

Preview Lab → · Contrast checker → · Palette generator →

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