#264A8B#264A8B

#264A8B is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.9% C 0.116 H 261.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#264A8B
RGBrgb(38, 74, 139)
HSLhsl(219, 57%, 35%)
HSVhsv(219, 73%, 55%)
CMYKcmyk(72.7%, 46.8%, 0%, 45.5%)
CIE-LABlab(32.20, 10.52, -40.00)
CIE-LCHlch(32.20, 41.36, 284.73°)
OKLaboklab(41.89% -0.0179 -0.1145)
OKLCHoklch(41.89% 0.116 261.1)
XYZxyz(7.9066, 7.1729, 25.3889)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264A8B #8B6726
analogous
#267D8B #264A8B #35268B
triadic
#264A8B #8B264A #4A8B26
tetradic
#264A8B #8B267D #8B6726 #268B35
square
#264A8B #8B267D #8B6726 #268B35
split-complementary
#264A8B #8B3526 #7D8B26
monochromatic
#0C172B #19305B #264A8B #3364BB #5A84D2

Accessibility & contrast

On white

8.62
#264A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#264A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264A8B
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264A8B#FFFFFF#000000##FFFFFF
##264A8B1.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29518D
Deuteranopia (green-blind)
#14478A
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #264a8b;
/* rgb */ color: rgb(38, 74, 139);
/* oklch */ color: oklch(41.9% 0.116 261.1);
Tailwind
colors: {
  custom: {
    50: '#6e7cad',
    500: '#264a8b',
    950: '#000000',
  },
}
SCSS
$custom: #264a8b;
$custom-light: #6e7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#264a8b",
  "rgb": {
    "r": 38,
    "g": 74,
    "b": 139
  },
  "hsl": {
    "h": 218.614,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41888,
    "c": 0.11593,
    "h": 261.1
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#264A8B
secondary
#B79456
accent
#AA47E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #264A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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