#264A7D#264A7D

#264A7D is a dark, moderate blue. Relative luminance 0.068; OKLCH L 40.9% C 0.096 H 257.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#264A7D
RGBrgb(38, 74, 125)
HSLhsl(215, 53%, 32%)
HSVhsv(215, 70%, 49%)
CMYKcmyk(69.6%, 40.8%, 0%, 51%)
CIE-LABlab(31.32, 5.09, -32.74)
CIE-LCHlch(31.32, 33.14, 278.83°)
OKLaboklab(40.93% -0.0208 -0.0932)
OKLCHoklch(40.93% 0.096 257.4)
XYZxyz(6.9484, 6.7896, 20.3424)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264A7D #7D5926
analogous
#26767D #264A7D #2D267D
triadic
#264A7D #7D264A #4A7D26
tetradic
#264A7D #7D2676 #7D5926 #267D2D
square
#264A7D #7D2676 #7D5926 #267D2D
split-complementary
#264A7D #7D2D26 #767D26
monochromatic
#09121F #182E4E #264A7D #3466AC #5384CB

Accessibility & contrast

On white

8.91
#264A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#264A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264A7D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264A7D#FFFFFF#000000##FFFFFF
##264A7D1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#26467C
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #264a7d;
/* rgb */ color: rgb(38, 74, 125);
/* oklch */ color: oklch(40.9% 0.096 257.4);
Tailwind
colors: {
  custom: {
    50: '#6b7ca3',
    500: '#264a7d',
    950: '#000000',
  },
}
SCSS
$custom: #264a7d;
$custom-light: #6b7ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#264a7d",
  "rgb": {
    "r": 38,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 215.172,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40929,
    "c": 0.09553,
    "h": 257.4
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#264A7D
secondary
#AF8850
accent
#A04BDD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #264A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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