#264D8B#264D8B

#264D8B is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.112 H 259.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#264D8B
RGBrgb(38, 77, 139)
HSLhsl(217, 57%, 35%)
HSVhsv(217, 73%, 55%)
CMYKcmyk(72.7%, 44.6%, 0%, 45.5%)
CIE-LABlab(33.10, 8.50, -38.56)
CIE-LCHlch(33.10, 39.48, 282.44°)
OKLaboklab(42.58% -0.0208 -0.1102)
OKLCHoklch(42.58% 0.112 259.3)
XYZxyz(8.1117, 7.5830, 25.4573)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264D8B #8B6426
analogous
#267F8B #264D8B #32268B
triadic
#264D8B #8B264D #4D8B26
tetradic
#264D8B #8B267F #8B6426 #268B32
square
#264D8B #8B267F #8B6426 #268B32
split-complementary
#264D8B #8B3226 #7F8B26
monochromatic
#0C182B #19325B #264D8B #3368BB #5A88D2

Accessibility & contrast

On white

8.34
#264D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#264D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264D8B
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264D8B#FFFFFF#000000##FFFFFF
##264D8B1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538D
Deuteranopia (green-blind)
#1D4A8A
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #264d8b;
/* rgb */ color: rgb(38, 77, 139);
/* oklch */ color: oklch(42.6% 0.112 259.3);
Tailwind
colors: {
  custom: {
    50: '#6e7ead',
    500: '#264d8b',
    950: '#000000',
  },
}
SCSS
$custom: #264d8b;
$custom-light: #6e7ead;
$custom-dark: #000000;
JSON
{
  "hex": "#264d8b",
  "rgb": {
    "r": 38,
    "g": 77,
    "b": 139
  },
  "hsl": {
    "h": 216.832,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42584,
    "c": 0.11219,
    "h": 259.3
  },
  "luminance": 0.07584
}

Semantic roles & 50–950 ramp

primary
#264D8B
secondary
#B79156
accent
#A547E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #264D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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