#264AA6#264AA6

#264AA6 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.154 H 264.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#264AA6
RGBrgb(38, 74, 166)
HSLhsl(223, 63%, 40%)
HSVhsv(223, 77%, 65%)
CMYKcmyk(77.1%, 55.4%, 0%, 34.9%)
CIE-LABlab(34.11, 21.05, -53.28)
CIE-LCHlch(34.11, 57.29, 291.56°)
OKLaboklab(43.96% -0.0144 -0.1536)
OKLCHoklch(43.96% 0.154 264.6)
XYZxyz(10.1286, 8.0617, 37.0912)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264AA6 #A68226
analogous
#268AA6 #264AA6 #4226A6
triadic
#264AA6 #A6264A #4AA626
tetradic
#264AA6 #A6268A #A68226 #26A642
square
#264AA6 #A6268A #A68226 #26A642
split-complementary
#264AA6 #A64226 #8AA626
monochromatic
#0F1E42 #1B3474 #264AA6 #3863D1 #6A8ADD

Accessibility & contrast

On white

8.04
#264AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#264AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264AA6
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264AA6#FFFFFF#000000##FFFFFF
##264AA61.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #264aa6;
/* rgb */ color: rgb(38, 74, 166);
/* oklch */ color: oklch(44.0% 0.154 264.6);
Tailwind
colors: {
  custom: {
    50: '#747cc1',
    500: '#264aa6',
    950: '#000000',
  },
}
SCSS
$custom: #264aa6;
$custom-light: #747cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#264aa6",
  "rgb": {
    "r": 38,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 223.125,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.43957,
    "c": 0.1543,
    "h": 264.6
  },
  "luminance": 0.08063
}

Semantic roles & 50–950 ramp

primary
#264AA6
secondary
#C3A865
accent
#B842E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #264AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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