#264EC7#264EC7

#264EC7 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.6% C 0.194 H 265.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#264EC7
RGBrgb(38, 78, 199)
HSLhsl(225, 68%, 46%)
HSVhsv(225, 81%, 78%)
CMYKcmyk(80.9%, 60.8%, 0%, 22%)
CIE-LABlab(37.81, 31.03, -66.71)
CIE-LCHlch(37.81, 73.58, 294.95°)
OKLaboklab(47.55% -0.0156 -0.193)
OKLCHoklch(47.55% 0.194 265.4)
XYZxyz(13.8289, 9.9827, 55.2198)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264EC7 #C79F26
analogous
#269FC7 #264EC7 #4F26C7
triadic
#264EC7 #C7264E #4EC726
tetradic
#264EC7 #C7269F #C79F26 #26C74F
square
#264EC7 #C7269F #C79F26 #26C74F
split-complementary
#264EC7 #C74F26 #9FC726
monochromatic
#122660 #1C3A94 #264EC7 #4D71DD #819AE7

Accessibility & contrast

On white

7.01
#264EC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#264EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #264EC7
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264EC7#FFFFFF#000000##FFFFFF
##264EC71.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0052C5
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #264ec7;
/* rgb */ color: rgb(38, 78, 199);
/* oklch */ color: oklch(47.6% 0.194 265.4);
Tailwind
colors: {
  custom: {
    50: '#7c7fd9',
    500: '#264ec7',
    950: '#000000',
  },
}
SCSS
$custom: #264ec7;
$custom-light: #7c7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#264ec7",
  "rgb": {
    "r": 38,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 225.093,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47554,
    "c": 0.19363,
    "h": 265.4
  },
  "luminance": 0.09984
}

Semantic roles & 50–950 ramp

primary
#264EC7
secondary
#CFBA79
accent
#C03DEB
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #264EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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