#264AA5#264AA5

#264AA5 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.153 H 264.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#264AA5
RGBrgb(38, 74, 165)
HSLhsl(223, 63%, 40%)
HSVhsv(223, 77%, 65%)
CMYKcmyk(77%, 55.2%, 0%, 35.3%)
CIE-LABlab(34.04, 20.67, -52.81)
CIE-LCHlch(34.04, 56.71, 291.37°)
OKLaboklab(43.88% -0.0145 -0.1522)
OKLCHoklch(43.88% 0.153 264.6)
XYZxyz(10.0372, 8.0251, 36.6100)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264AA5 #A58126
analogous
#268AA5 #264AA5 #4126A5
triadic
#264AA5 #A5264A #4AA526
tetradic
#264AA5 #A5268A #A58126 #26A541
square
#264AA5 #A5268A #A58126 #26A541
split-complementary
#264AA5 #A54126 #8AA526
monochromatic
#0F1D42 #1B3473 #264AA5 #3763D1 #698ADC

Accessibility & contrast

On white

8.06
#264AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #264AA5
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264AA5#FFFFFF#000000##FFFFFF
##264AA51.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #264aa5;
/* rgb */ color: rgb(38, 74, 165);
/* oklch */ color: oklch(43.9% 0.153 264.6);
Tailwind
colors: {
  custom: {
    50: '#747cc0',
    500: '#264aa5',
    950: '#000000',
  },
}
SCSS
$custom: #264aa5;
$custom-light: #747cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#264aa5",
  "rgb": {
    "r": 38,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 222.992,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43876,
    "c": 0.15291,
    "h": 264.6
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#264AA5
secondary
#C3A864
accent
#B742E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #264AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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