#264F8B#264F8B

#264F8B is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.1% C 0.110 H 258.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#264F8B
RGBrgb(38, 79, 139)
HSLhsl(216, 57%, 35%)
HSVhsv(216, 73%, 55%)
CMYKcmyk(72.7%, 43.2%, 0%, 45.5%)
CIE-LABlab(33.70, 7.17, -37.59)
CIE-LCHlch(33.70, 38.27, 280.80°)
OKLaboklab(43.05% -0.0227 -0.1074)
OKLCHoklch(43.05% 0.11 258)
XYZxyz(8.2538, 7.8672, 25.5046)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264F8B #8B6226
analogous
#26818B #264F8B #30268B
triadic
#264F8B #8B264F #4F8B26
tetradic
#264F8B #8B2681 #8B6226 #268B30
square
#264F8B #8B2681 #8B6226 #268B30
split-complementary
#264F8B #8B3026 #818B26
monochromatic
#0C182B #19345B #264F8B #336ABB #5A8AD2

Accessibility & contrast

On white

8.16
#264F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#264F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264F8B
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264F8B#FFFFFF#000000##FFFFFF
##264F8B1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548D
Deuteranopia (green-blind)
#214B8A
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #264f8b;
/* rgb */ color: rgb(38, 79, 139);
/* oklch */ color: oklch(43.1% 0.110 258.0);
Tailwind
colors: {
  custom: {
    50: '#6e7fad',
    500: '#264f8b',
    950: '#000000',
  },
}
SCSS
$custom: #264f8b;
$custom-light: #6e7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#264f8b",
  "rgb": {
    "r": 38,
    "g": 79,
    "b": 139
  },
  "hsl": {
    "h": 215.644,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43053,
    "c": 0.10975,
    "h": 258
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#264F8B
secondary
#B78F56
accent
#A247E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #264F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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