#264CCA#264CCA

#264CCA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.4% C 0.200 H 265.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#264CCA
RGBrgb(38, 76, 202)
HSLhsl(226, 68%, 47%)
HSVhsv(226, 81%, 79%)
CMYKcmyk(81.2%, 62.4%, 0%, 20.8%)
CIE-LABlab(37.56, 33.45, -68.87)
CIE-LCHlch(37.56, 76.56, 295.91°)
OKLaboklab(47.45% -0.0145 -0.1993)
OKLCHoklch(47.45% 0.2 265.8)
XYZxyz(14.0407, 9.8435, 57.0256)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264CCA #CAA426
analogous
#269ECA #264CCA #5226CA
triadic
#264CCA #CA264C #4CCA26
tetradic
#264CCA #CA269E #CAA426 #26CA52
square
#264CCA #CA269E #CAA426 #26CA52
split-complementary
#264CCA #CA5226 #9ECA26
monochromatic
#132563 #1C3996 #264CCA #4F70DE #839AE8

Accessibility & contrast

On white

7.07
#264CCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#264CCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264CCA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264CCA#FFFFFF#000000##FFFFFF
##264CCA1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #264cca;
/* rgb */ color: rgb(38, 76, 202);
/* oklch */ color: oklch(47.4% 0.200 265.8);
Tailwind
colors: {
  custom: {
    50: '#7d7ddb',
    500: '#264cca',
    950: '#000000',
  },
}
SCSS
$custom: #264cca;
$custom-light: #7d7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#264cca",
  "rgb": {
    "r": 38,
    "g": 76,
    "b": 202
  },
  "hsl": {
    "h": 226.098,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47446,
    "c": 0.19986,
    "h": 265.8
  },
  "luminance": 0.09845
}

Semantic roles & 50–950 ramp

primary
#264CCA
secondary
#D1BD7B
accent
#C33DEB
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #264CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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