#264ECA#264ECA

#264ECA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.8% C 0.198 H 265.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#264ECA
RGBrgb(38, 78, 202)
HSLhsl(225, 68%, 47%)
HSVhsv(225, 81%, 79%)
CMYKcmyk(81.2%, 61.4%, 0%, 20.8%)
CIE-LABlab(38.06, 32.16, -68.04)
CIE-LCHlch(38.06, 75.26, 295.30°)
OKLaboklab(47.82% -0.0156 -0.1969)
OKLCHoklch(47.82% 0.198 265.5)
XYZxyz(14.1806, 10.1234, 57.0723)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264ECA #CAA226
analogous
#26A0CA #264ECA #5026CA
triadic
#264ECA #CA264E #4ECA26
tetradic
#264ECA #CA26A0 #CAA226 #26CA50
square
#264ECA #CA26A0 #CAA226 #26CA50
split-complementary
#264ECA #CA5026 #A0CA26
monochromatic
#132663 #1C3A96 #264ECA #4F72DE #839BE8

Accessibility & contrast

On white

6.94
#264ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#264ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #264ECA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264ECA#FFFFFF#000000##FFFFFF
##264ECA1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0052C8
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #264eca;
/* rgb */ color: rgb(38, 78, 202);
/* oklch */ color: oklch(47.8% 0.198 265.5);
Tailwind
colors: {
  custom: {
    50: '#7d7fdb',
    500: '#264eca',
    950: '#000000',
  },
}
SCSS
$custom: #264eca;
$custom-light: #7d7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#264eca",
  "rgb": {
    "r": 38,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 225.366,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47819,
    "c": 0.19752,
    "h": 265.5
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#264ECA
secondary
#D1BC7B
accent
#C13DEB
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #264ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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