#264D8A#264D8A

#264D8A is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.5% C 0.111 H 259.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#264D8A
RGBrgb(38, 77, 138)
HSLhsl(217, 57%, 35%)
HSVhsv(217, 72%, 54%)
CMYKcmyk(72.5%, 44.2%, 0%, 45.9%)
CIE-LABlab(33.04, 8.12, -38.04)
CIE-LCHlch(33.04, 38.90, 282.04°)
OKLaboklab(42.52% -0.021 -0.1087)
OKLCHoklch(42.52% 0.111 259.1)
XYZxyz(8.0390, 7.5540, 25.0742)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264D8A #8A6326
analogous
#267F8A #264D8A #31268A
triadic
#264D8A #8A264D #4D8A26
tetradic
#264D8A #8A267F #8A6326 #268A31
square
#264D8A #8A267F #8A6326 #268A31
split-complementary
#264D8A #8A3126 #7F8A26
monochromatic
#0C172A #19325A #264D8A #3368BA #5988D1

Accessibility & contrast

On white

8.36
#264D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#264D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264D8A
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264D8A#FFFFFF#000000##FFFFFF
##264D8A1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538C
Deuteranopia (green-blind)
#1E4989
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #264d8a;
/* rgb */ color: rgb(38, 77, 138);
/* oklch */ color: oklch(42.5% 0.111 259.1);
Tailwind
colors: {
  custom: {
    50: '#6d7eac',
    500: '#264d8a',
    950: '#000000',
  },
}
SCSS
$custom: #264d8a;
$custom-light: #6d7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#264d8a",
  "rgb": {
    "r": 38,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 216.6,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42515,
    "c": 0.11075,
    "h": 259.1
  },
  "luminance": 0.07555
}

Semantic roles & 50–950 ramp

primary
#264D8A
secondary
#B69056
accent
#A548E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #264D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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