#264F8A#264F8A

#264F8A is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.0% C 0.108 H 257.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#264F8A
RGBrgb(38, 79, 138)
HSLhsl(215, 57%, 35%)
HSVhsv(215, 72%, 54%)
CMYKcmyk(72.5%, 42.8%, 0%, 45.9%)
CIE-LABlab(33.64, 6.78, -37.07)
CIE-LCHlch(33.64, 37.69, 280.37°)
OKLaboklab(42.99% -0.023 -0.1059)
OKLCHoklch(42.99% 0.108 257.8)
XYZxyz(8.1811, 7.8381, 25.1216)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264F8A #8A6126
analogous
#26818A #264F8A #2F268A
triadic
#264F8A #8A264F #4F8A26
tetradic
#264F8A #8A2681 #8A6126 #268A2F
square
#264F8A #8A2681 #8A6126 #268A2F
split-complementary
#264F8A #8A2F26 #818A26
monochromatic
#0C182A #19345A #264F8A #336ABA #598AD1

Accessibility & contrast

On white

8.18
#264F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #264F8A
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264F8A#FFFFFF#000000##FFFFFF
##264F8A1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#234B89
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #264f8a;
/* rgb */ color: rgb(38, 79, 138);
/* oklch */ color: oklch(43.0% 0.108 257.8);
Tailwind
colors: {
  custom: {
    50: '#6d7fac',
    500: '#264f8a',
    950: '#000000',
  },
}
SCSS
$custom: #264f8a;
$custom-light: #6d7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#264f8a",
  "rgb": {
    "r": 38,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 215.4,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42985,
    "c": 0.10832,
    "h": 257.8
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#264F8A
secondary
#B68F56
accent
#A248E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #264F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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