#264EA7#264EA7

#264EA7 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.151 H 263.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#264EA7
RGBrgb(38, 78, 167)
HSLhsl(221, 63%, 40%)
HSVhsv(221, 77%, 65%)
CMYKcmyk(77.2%, 53.3%, 0%, 34.5%)
CIE-LABlab(35.30, 18.76, -51.95)
CIE-LCHlch(35.30, 55.23, 289.86°)
OKLaboklab(44.88% -0.0174 -0.1496)
OKLCHoklch(44.88% 0.151 263.4)
XYZxyz(10.4963, 8.6497, 37.6681)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264EA7 #A77F26
analogous
#268FA7 #264EA7 #3E26A7
triadic
#264EA7 #A7264E #4EA726
tetradic
#264EA7 #A7268F #A77F26 #26A73E
square
#264EA7 #A7268F #A77F26 #26A73E
split-complementary
#264EA7 #A73E26 #8FA726
monochromatic
#0F1F43 #1B3775 #264EA7 #3868D2 #6A8EDD

Accessibility & contrast

On white

7.69
#264EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#264EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264EA7
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264EA7#FFFFFF#000000##FFFFFF
##264EA71.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D59AA
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #264ea7;
/* rgb */ color: rgb(38, 78, 167);
/* oklch */ color: oklch(44.9% 0.151 263.4);
Tailwind
colors: {
  custom: {
    50: '#747fc2',
    500: '#264ea7',
    950: '#000000',
  },
}
SCSS
$custom: #264ea7;
$custom-light: #747fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#264ea7",
  "rgb": {
    "r": 38,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 221.395,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44881,
    "c": 0.15064,
    "h": 263.4
  },
  "luminance": 0.08651
}

Semantic roles & 50–950 ramp

primary
#264EA7
secondary
#C3A665
accent
#B342E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #264EA7

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

Preview Lab → · Contrast checker → · Palette generator →

#264EA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva