#264E8B#264E8B

#264E8B is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.8% C 0.111 H 258.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#264E8B
RGBrgb(38, 78, 139)
HSLhsl(216, 57%, 35%)
HSVhsv(216, 73%, 55%)
CMYKcmyk(72.7%, 43.9%, 0%, 45.5%)
CIE-LABlab(33.40, 7.84, -38.07)
CIE-LCHlch(33.40, 38.87, 281.63°)
OKLaboklab(42.82% -0.0218 -0.1088)
OKLCHoklch(42.82% 0.111 258.7)
XYZxyz(8.1822, 7.7241, 25.4808)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264E8B #8B6326
analogous
#26808B #264E8B #31268B
triadic
#264E8B #8B264E #4E8B26
tetradic
#264E8B #8B2680 #8B6326 #268B31
square
#264E8B #8B2680 #8B6326 #268B31
split-complementary
#264E8B #8B3126 #808B26
monochromatic
#0C182B #19335B #264E8B #3369BB #5A89D2

Accessibility & contrast

On white

8.25
#264E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#264E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264E8B
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264E8B#FFFFFF#000000##FFFFFF
##264E8B1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548D
Deuteranopia (green-blind)
#1F4A8A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #264e8b;
/* rgb */ color: rgb(38, 78, 139);
/* oklch */ color: oklch(42.8% 0.111 258.7);
Tailwind
colors: {
  custom: {
    50: '#6e7fad',
    500: '#264e8b',
    950: '#000000',
  },
}
SCSS
$custom: #264e8b;
$custom-light: #6e7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#264e8b",
  "rgb": {
    "r": 38,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 216.238,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42818,
    "c": 0.11096,
    "h": 258.7
  },
  "luminance": 0.07725
}

Semantic roles & 50–950 ramp

primary
#264E8B
secondary
#B79056
accent
#A447E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #264E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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