#264CA6#264CA6

#264CA6 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.152 H 264.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#264CA6
RGBrgb(38, 76, 166)
HSLhsl(222, 63%, 40%)
HSVhsv(222, 77%, 65%)
CMYKcmyk(77.1%, 54.2%, 0%, 34.9%)
CIE-LABlab(34.67, 19.71, -52.38)
CIE-LCHlch(34.67, 55.97, 290.62°)
OKLaboklab(44.38% -0.016 -0.1509)
OKLCHoklch(44.38% 0.152 264)
XYZxyz(10.2643, 8.3330, 37.1365)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264CA6 #A68026
analogous
#268CA6 #264CA6 #4026A6
triadic
#264CA6 #A6264C #4CA626
tetradic
#264CA6 #A6268C #A68026 #26A640
square
#264CA6 #A6268C #A68026 #26A640
split-complementary
#264CA6 #A64026 #8CA626
monochromatic
#0F1E42 #1B3574 #264CA6 #3865D1 #6A8CDD

Accessibility & contrast

On white

7.87
#264CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#264CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264CA6
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264CA6#FFFFFF#000000##FFFFFF
##264CA61.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0358A9
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #264ca6;
/* rgb */ color: rgb(38, 76, 166);
/* oklch */ color: oklch(44.4% 0.152 264.0);
Tailwind
colors: {
  custom: {
    50: '#747dc1',
    500: '#264ca6',
    950: '#000000',
  },
}
SCSS
$custom: #264ca6;
$custom-light: #747dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#264ca6",
  "rgb": {
    "r": 38,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 222.188,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.44377,
    "c": 0.15177,
    "h": 264
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#264CA6
secondary
#C3A765
accent
#B542E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #264CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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