#264A7F#264A7F

#264A7F is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.098 H 258.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#264A7F
RGBrgb(38, 74, 127)
HSLhsl(216, 54%, 32%)
HSVhsv(216, 70%, 50%)
CMYKcmyk(70.1%, 41.7%, 0%, 50.2%)
CIE-LABlab(31.44, 5.86, -33.80)
CIE-LCHlch(31.44, 34.30, 279.84°)
OKLaboklab(41.06% -0.0204 -0.0963)
OKLCHoklch(41.06% 0.098 258.1)
XYZxyz(7.0775, 6.8412, 21.0221)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264A7F #7F5B26
analogous
#26777F #264A7F #2E267F
triadic
#264A7F #7F264A #4A7F26
tetradic
#264A7F #7F2677 #7F5B26 #267F2E
square
#264A7F #7F2677 #7F5B26 #267F2E
split-complementary
#264A7F #7F2E26 #777F26
monochromatic
#0A1321 #182F50 #264A7F #3465AE #5484CC

Accessibility & contrast

On white

8.87
#264A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#264A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264A7F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264A7F#FFFFFF#000000##FFFFFF
##264A7F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E81
Deuteranopia (green-blind)
#24467E
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #264a7f;
/* rgb */ color: rgb(38, 74, 127);
/* oklch */ color: oklch(41.1% 0.098 258.1);
Tailwind
colors: {
  custom: {
    50: '#6b7ca4',
    500: '#264a7f',
    950: '#000000',
  },
}
SCSS
$custom: #264a7f;
$custom-light: #6b7ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#264a7f",
  "rgb": {
    "r": 38,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 215.73,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41061,
    "c": 0.09845,
    "h": 258.1
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#264A7F
secondary
#B08A51
accent
#A24ADD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #264A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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