#264F8D#264F8D

#264F8D is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.2% C 0.113 H 258.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#264F8D
RGBrgb(38, 79, 141)
HSLhsl(216, 58%, 35%)
HSVhsv(216, 73%, 55%)
CMYKcmyk(73%, 44%, 0%, 44.7%)
CIE-LABlab(33.83, 7.95, -38.61)
CIE-LCHlch(33.83, 39.42, 281.63°)
OKLaboklab(43.19% -0.0223 -0.1104)
OKLCHoklch(43.19% 0.113 258.6)
XYZxyz(8.4013, 7.9262, 26.2813)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264F8D #8D6426
analogous
#26828D #264F8D #31268D
triadic
#264F8D #8D264F #4F8D26
tetradic
#264F8D #8D2682 #8D6426 #268D31
square
#264F8D #8D2682 #8D6426 #268D31
split-complementary
#264F8D #8D3126 #828D26
monochromatic
#0C192D #19345D #264F8D #336ABD #5B8AD3

Accessibility & contrast

On white

8.12
#264F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#264F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264F8D
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264F8D#FFFFFF#000000##FFFFFF
##264F8D1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31558F
Deuteranopia (green-blind)
#1F4B8C
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #264f8d;
/* rgb */ color: rgb(38, 79, 141);
/* oklch */ color: oklch(43.2% 0.113 258.6);
Tailwind
colors: {
  custom: {
    50: '#6e7faf',
    500: '#264f8d',
    950: '#000000',
  },
}
SCSS
$custom: #264f8d;
$custom-light: #6e7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#264f8d",
  "rgb": {
    "r": 38,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 216.117,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43189,
    "c": 0.11261,
    "h": 258.6
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#264F8D
secondary
#B89157
accent
#A447E1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #264F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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