#2645AF#2645AF

#2645AF is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.173 H 266.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2645AF
RGBrgb(38, 69, 175)
HSLhsl(226, 64%, 42%)
HSVhsv(226, 78%, 69%)
CMYKcmyk(78.3%, 60.6%, 0%, 31.4%)
CIE-LABlab(33.48, 27.86, -59.68)
CIE-LCHlch(33.48, 65.86, 295.02°)
OKLaboklab(43.71% -0.0105 -0.1725)
OKLCHoklch(43.71% 0.173 266.5)
XYZxyz(10.6626, 7.7622, 41.4854)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2645AF #AF9026
analogous
#268AAF #2645AF #4B26AF
triadic
#2645AF #AF2645 #45AF26
tetradic
#2645AF #AF268A #AF9026 #26AF4B
square
#2645AF #AF268A #AF9026 #26AF4B
split-complementary
#2645AF #AF4B26 #8AAF26
monochromatic
#101D4A #1B317D #2645AF #3D60D5 #7089E0

Accessibility & contrast

On white

8.23
#2645AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2645AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2645AF
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2645AF#FFFFFF#000000##FFFFFF
##2645AF1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2645af;
/* rgb */ color: rgb(38, 69, 175);
/* oklch */ color: oklch(43.7% 0.173 266.5);
Tailwind
colors: {
  custom: {
    50: '#7778c8',
    500: '#2645af',
    950: '#000000',
  },
}
SCSS
$custom: #2645af;
$custom-light: #7778c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2645af",
  "rgb": {
    "r": 38,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 226.423,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4371,
    "c": 0.1728,
    "h": 266.5
  },
  "luminance": 0.07763
}

Semantic roles & 50–950 ramp

primary
#2645AF
secondary
#C7B26A
accent
#C240E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2645AF

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

Preview Lab → · Contrast checker → · Palette generator →

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