#264AB5#264AB5

#264AB5 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.175 H 265.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#264AB5
RGBrgb(38, 74, 181)
HSLhsl(225, 65%, 43%)
HSVhsv(225, 79%, 71%)
CMYKcmyk(79%, 59.1%, 0%, 29%)
CIE-LABlab(35.29, 26.83, -60.28)
CIE-LCHlch(35.29, 65.99, 293.99°)
OKLaboklab(45.21% -0.0136 -0.1742)
OKLCHoklch(45.21% 0.175 265.5)
XYZxyz(11.5857, 8.6445, 44.7650)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264AB5 #B59126
analogous
#2691B5 #264AB5 #4926B5
triadic
#264AB5 #B5264A #4AB526
tetradic
#264AB5 #B52691 #B59126 #26B549
square
#264AB5 #B52691 #B59126 #26B549
split-complementary
#264AB5 #B54926 #91B526
monochromatic
#112150 #1B3582 #264AB5 #4167D7 #748FE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##264AB5#FFFFFF#000000##FFFFFF
##264AB51.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)
#005AB9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #264ab5;
/* rgb */ color: rgb(38, 74, 181);
/* oklch */ color: oklch(45.2% 0.175 265.5);
Tailwind
colors: {
  custom: {
    50: '#787ccc',
    500: '#264ab5',
    950: '#000000',
  },
}
SCSS
$custom: #264ab5;
$custom-light: #787ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#264ab5",
  "rgb": {
    "r": 38,
    "g": 74,
    "b": 181
  },
  "hsl": {
    "h": 224.895,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45213,
    "c": 0.17472,
    "h": 265.5
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

primary
#264AB5
secondary
#C9B26E
accent
#BE40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #264AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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