#264FB7#264FB7

#264FB7 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.171 H 264.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#264FB7
RGBrgb(38, 79, 183)
HSLhsl(223, 66%, 43%)
HSVhsv(223, 79%, 72%)
CMYKcmyk(79.2%, 56.8%, 0%, 28.2%)
CIE-LABlab(36.78, 24.29, -59.03)
CIE-LCHlch(36.78, 63.83, 292.36°)
OKLaboklab(46.38% -0.0168 -0.1704)
OKLCHoklch(46.38% 0.171 264.4)
XYZxyz(12.1395, 9.4215, 45.9693)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264FB7 #B78E26
analogous
#2698B7 #264FB7 #4526B7
triadic
#264FB7 #B7264F #4FB726
tetradic
#264FB7 #B72698 #B78E26 #26B745
square
#264FB7 #B72698 #B78E26 #26B745
split-complementary
#264FB7 #B74526 #98B726
monochromatic
#112352 #1B3984 #264FB7 #426DD8 #7594E2

Accessibility & contrast

On white

7.28
#264FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#264FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264FB7
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264FB7#FFFFFF#000000##FFFFFF
##264FB71.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #264fb7;
/* rgb */ color: rgb(38, 79, 183);
/* oklch */ color: oklch(46.4% 0.171 264.4);
Tailwind
colors: {
  custom: {
    50: '#787fcd',
    500: '#264fb7',
    950: '#000000',
  },
}
SCSS
$custom: #264fb7;
$custom-light: #787fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#264fb7",
  "rgb": {
    "r": 38,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 223.034,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46383,
    "c": 0.17126,
    "h": 264.4
  },
  "luminance": 0.09423
}

Semantic roles & 50–950 ramp

primary
#264FB7
secondary
#CAB06F
accent
#B93FE9
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #264FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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