#2645BA#2645BA

#2645BA is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.187 H 266.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2645BA
RGBrgb(38, 69, 186)
HSLhsl(227, 66%, 44%)
HSVhsv(227, 80%, 73%)
CMYKcmyk(79.6%, 62.9%, 0%, 27.1%)
CIE-LABlab(34.42, 32.01, -64.65)
CIE-LCHlch(34.42, 72.15, 296.34°)
OKLaboklab(44.7% -0.0105 -0.1871)
OKLCHoklch(44.7% 0.187 266.8)
XYZxyz(11.7873, 8.2121, 47.4087)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2645BA #BA9B26
analogous
#268FBA #2645BA #5126BA
triadic
#2645BA #BA2645 #45BA26
tetradic
#2645BA #BA268F #BA9B26 #26BA51
square
#2645BA #BA268F #BA9B26 #26BA51
split-complementary
#2645BA #BA5126 #8FBA26
monochromatic
#111F54 #1C3287 #2645BA #4463D9 #778EE3

Accessibility & contrast

On white

7.95
#2645BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2645BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2645BA
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2645BA#FFFFFF#000000##FFFFFF
##2645BA1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2645ba;
/* rgb */ color: rgb(38, 69, 186);
/* oklch */ color: oklch(44.7% 0.187 266.8);
Tailwind
colors: {
  custom: {
    50: '#7978d0',
    500: '#2645ba',
    950: '#000000',
  },
}
SCSS
$custom: #2645ba;
$custom-light: #7978d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2645ba",
  "rgb": {
    "r": 38,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 227.432,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44697,
    "c": 0.18737,
    "h": 266.8
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#2645BA
secondary
#CBB871
accent
#C53FE9
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2645BA

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

Preview Lab → · Contrast checker → · Palette generator →

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