#2645A2#2645A2

#2645A2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.155 H 266.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#2645A2
RGBrgb(38, 69, 162)
HSLhsl(225, 62%, 39%)
HSVhsv(225, 77%, 64%)
CMYKcmyk(76.5%, 57.4%, 0%, 36.5%)
CIE-LABlab(32.43, 22.87, -53.62)
CIE-LCHlch(32.43, 58.29, 293.10°)
OKLaboklab(42.59% -0.0109 -0.1547)
OKLCHoklch(42.59% 0.155 266)
XYZxyz(9.4467, 7.2759, 35.0819)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2645A2 #A28326
analogous
#2683A2 #2645A2 #4526A2
triadic
#2645A2 #A22645 #45A226
tetradic
#2645A2 #A22683 #A28326 #26A245
square
#2645A2 #A22683 #A28326 #26A245
split-complementary
#2645A2 #A24526 #83A226
monochromatic
#0F1B3F #1A3070 #2645A2 #355CD0 #6784DB

Accessibility & contrast

On white

8.55
#2645A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2645A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2645A2
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2645A2#FFFFFF#000000##FFFFFF
##2645A21.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2645a2;
/* rgb */ color: rgb(38, 69, 162);
/* oklch */ color: oklch(42.6% 0.155 266.0);
Tailwind
colors: {
  custom: {
    50: '#7378be',
    500: '#2645a2',
    950: '#000000',
  },
}
SCSS
$custom: #2645a2;
$custom-light: #7378be;
$custom-dark: #000000;
JSON
{
  "hex": "#2645a2",
  "rgb": {
    "r": 38,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 225,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42591,
    "c": 0.15507,
    "h": 266
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#2645A2
secondary
#C1AA63
accent
#BC43E5
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2645A2

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

Preview Lab → · Contrast checker → · Palette generator →

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