#264AC7#264AC7

#264AC7 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.8% C 0.198 H 266.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#264AC7
RGBrgb(38, 74, 199)
HSLhsl(227, 68%, 46%)
HSVhsv(227, 81%, 78%)
CMYKcmyk(80.9%, 62.8%, 0%, 22%)
CIE-LABlab(36.80, 33.62, -68.37)
CIE-LCHlch(36.80, 76.19, 296.19°)
OKLaboklab(46.81% -0.0134 -0.1979)
OKLCHoklch(46.81% 0.198 266.1)
XYZxyz(13.5533, 9.4315, 55.1279)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264AC7 #C7A326
analogous
#269BC7 #264AC7 #5326C7
triadic
#264AC7 #C7264A #4AC726
tetradic
#264AC7 #C7269B #C7A326 #26C753
square
#264AC7 #C7269B #C7A326 #26C753
split-complementary
#264AC7 #C75326 #9BC726
monochromatic
#122460 #1C3794 #264AC7 #4D6DDD #8197E7

Accessibility & contrast

On white

7.27
#264AC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#264AC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264AC7
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264AC7#FFFFFF#000000##FFFFFF
##264AC71.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#004FC5
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #264ac7;
/* rgb */ color: rgb(38, 74, 199);
/* oklch */ color: oklch(46.8% 0.198 266.1);
Tailwind
colors: {
  custom: {
    50: '#7c7cd9',
    500: '#264ac7',
    950: '#000000',
  },
}
SCSS
$custom: #264ac7;
$custom-light: #7c7cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#264ac7",
  "rgb": {
    "r": 38,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 226.584,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46806,
    "c": 0.19834,
    "h": 266.1
  },
  "luminance": 0.09433
}

Semantic roles & 50–950 ramp

primary
#264AC7
secondary
#CFBC79
accent
#C43DEB
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0B0915
muted
#7C7B83

Preview Lab

Preview with #264AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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