#264D8F#264D8F

#264D8F is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.9% C 0.118 H 260.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#264D8F
RGBrgb(38, 77, 143)
HSLhsl(218, 58%, 35%)
HSVhsv(218, 73%, 56%)
CMYKcmyk(73.4%, 46.2%, 0%, 43.9%)
CIE-LABlab(33.35, 10.06, -40.59)
CIE-LCHlch(33.35, 41.82, 283.92°)
OKLaboklab(42.86% -0.02 -0.1162)
OKLCHoklch(42.86% 0.118 260.2)
XYZxyz(8.4093, 7.7021, 27.0247)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264D8F #8F6826
analogous
#26818F #264D8F #33268F
triadic
#264D8F #8F264D #4D8F26
tetradic
#264D8F #8F2681 #8F6826 #268F33
square
#264D8F #8F2681 #8F6826 #268F33
split-complementary
#264D8F #8F3326 #818F26
monochromatic
#0C192E #19335F #264D8F #3367BF #5C88D4

Accessibility & contrast

On white

8.27
#264D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#264D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264D8F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264D8F#FFFFFF#000000##FFFFFF
##264D8F1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5492
Deuteranopia (green-blind)
#174A8E
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #264d8f;
/* rgb */ color: rgb(38, 77, 143);
/* oklch */ color: oklch(42.9% 0.118 260.2);
Tailwind
colors: {
  custom: {
    50: '#6e7eb0',
    500: '#264d8f',
    950: '#000000',
  },
}
SCSS
$custom: #264d8f;
$custom-light: #6e7eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#264d8f",
  "rgb": {
    "r": 38,
    "g": 77,
    "b": 143
  },
  "hsl": {
    "h": 217.714,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42863,
    "c": 0.11795,
    "h": 260.2
  },
  "luminance": 0.07703
}

Semantic roles & 50–950 ramp

primary
#264D8F
secondary
#B99558
accent
#A847E1
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #264D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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