#264EB1#264EB1

#264EB1 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.164 H 264.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#264EB1
RGBrgb(38, 78, 177)
HSLhsl(223, 65%, 42%)
HSVhsv(223, 79%, 69%)
CMYKcmyk(78.5%, 55.9%, 0%, 30.6%)
CIE-LABlab(36.05, 22.64, -56.68)
CIE-LCHlch(36.05, 61.04, 291.77°)
OKLaboklab(45.68% -0.0165 -0.1635)
OKLCHoklch(45.68% 0.164 264.2)
XYZxyz(11.4567, 9.0339, 42.7263)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264EB1 #B18926
analogous
#2693B1 #264EB1 #4426B1
triadic
#264EB1 #B1264E #4EB126
tetradic
#264EB1 #B12693 #B18926 #26B144
square
#264EB1 #B12693 #B18926 #26B144
split-complementary
#264EB1 #B14426 #93B126
monochromatic
#10224C #1B387F #264EB1 #3F6AD6 #7191E0

Accessibility & contrast

On white

7.48
#264EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#264EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264EB1
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264EB1#FFFFFF#000000##FFFFFF
##264EB11.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #264eb1;
/* rgb */ color: rgb(38, 78, 177);
/* oklch */ color: oklch(45.7% 0.164 264.2);
Tailwind
colors: {
  custom: {
    50: '#767fc9',
    500: '#264eb1',
    950: '#000000',
  },
}
SCSS
$custom: #264eb1;
$custom-light: #767fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#264eb1",
  "rgb": {
    "r": 38,
    "g": 78,
    "b": 177
  },
  "hsl": {
    "h": 222.734,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45684,
    "c": 0.16439,
    "h": 264.2
  },
  "luminance": 0.09035
}

Semantic roles & 50–950 ramp

primary
#264EB1
secondary
#C7AD6B
accent
#B740E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #264EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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