#2645AC#2645AC

#2645AC is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.169 H 266.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2645AC
RGBrgb(38, 69, 172)
HSLhsl(226, 64%, 41%)
HSVhsv(226, 78%, 67%)
CMYKcmyk(77.9%, 59.9%, 0%, 32.5%)
CIE-LABlab(33.23, 26.71, -58.30)
CIE-LCHlch(33.23, 64.12, 294.62°)
OKLaboklab(43.45% -0.0106 -0.1684)
OKLCHoklch(43.45% 0.169 266.4)
XYZxyz(10.3712, 7.6457, 39.9509)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2645AC #AC8D26
analogous
#2688AC #2645AC #4A26AC
triadic
#2645AC #AC2645 #45AC26
tetradic
#2645AC #AC2688 #AC8D26 #26AC4A
square
#2645AC #AC2688 #AC8D26 #26AC4A
split-complementary
#2645AC #AC4A26 #88AC26
monochromatic
#101D48 #1B317A #2645AC #3B5FD4 #6E88DF

Accessibility & contrast

On white

8.30
#2645AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2645AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2645AC
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2645AC#FFFFFF#000000##FFFFFF
##2645AC1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2645ac;
/* rgb */ color: rgb(38, 69, 172);
/* oklch */ color: oklch(43.4% 0.169 266.4);
Tailwind
colors: {
  custom: {
    50: '#7678c6',
    500: '#2645ac',
    950: '#000000',
  },
}
SCSS
$custom: #2645ac;
$custom-light: #7678c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2645ac",
  "rgb": {
    "r": 38,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 226.119,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43447,
    "c": 0.16876,
    "h": 266.4
  },
  "luminance": 0.07647
}

Semantic roles & 50–950 ramp

primary
#2645AC
secondary
#C5B068
accent
#C041E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2645AC

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

Preview Lab → · Contrast checker → · Palette generator →

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