#264FA7#264FA7

#264FA7 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.149 H 263.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#264FA7
RGBrgb(38, 79, 167)
HSLhsl(221, 63%, 40%)
HSVhsv(221, 77%, 65%)
CMYKcmyk(77.2%, 52.7%, 0%, 34.5%)
CIE-LABlab(35.58, 18.09, -51.49)
CIE-LCHlch(35.58, 54.58, 289.36°)
OKLaboklab(45.1% -0.0182 -0.1483)
OKLCHoklch(45.1% 0.149 263)
XYZxyz(10.5679, 8.7929, 37.6920)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264FA7 #A77E26
analogous
#2690A7 #264FA7 #3D26A7
triadic
#264FA7 #A7264F #4FA726
tetradic
#264FA7 #A72690 #A77E26 #26A73D
square
#264FA7 #A72690 #A77E26 #26A73D
split-complementary
#264FA7 #A73D26 #90A726
monochromatic
#0F2043 #1B3775 #264FA7 #3869D2 #6A8FDD

Accessibility & contrast

On white

7.61
#264FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#264FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264FA7
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264FA7#FFFFFF#000000##FFFFFF
##264FA71.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125AAA
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #264fa7;
/* rgb */ color: rgb(38, 79, 167);
/* oklch */ color: oklch(45.1% 0.149 263.0);
Tailwind
colors: {
  custom: {
    50: '#747fc2',
    500: '#264fa7',
    950: '#000000',
  },
}
SCSS
$custom: #264fa7;
$custom-light: #747fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#264fa7",
  "rgb": {
    "r": 38,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 220.93,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45095,
    "c": 0.14938,
    "h": 263
  },
  "luminance": 0.08794
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #264FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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