#264E8D#264E8D

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

Color values

HEX#264E8D
RGBrgb(38, 78, 141)
HSLhsl(217, 58%, 35%)
HSVhsv(217, 73%, 55%)
CMYKcmyk(73%, 44.7%, 0%, 44.7%)
CIE-LABlab(33.53, 8.61, -39.10)
CIE-LCHlch(33.53, 40.03, 282.43°)
OKLaboklab(42.96% -0.0213 -0.1118)
OKLCHoklch(42.96% 0.114 259.2)
XYZxyz(8.3297, 7.7830, 26.2574)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264E8D #8D6526
analogous
#26818D #264E8D #31268D
triadic
#264E8D #8D264E #4E8D26
tetradic
#264E8D #8D2681 #8D6526 #268D31
square
#264E8D #8D2681 #8D6526 #268D31
split-complementary
#264E8D #8D3126 #818D26
monochromatic
#0C192D #19335D #264E8D #3369BD #5B89D3

Accessibility & contrast

On white

8.21
#264E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#264E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264E8D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264E8D#FFFFFF#000000##FFFFFF
##264E8D1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F548F
Deuteranopia (green-blind)
#1D4A8C
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #264e8d;
/* rgb */ color: rgb(38, 78, 141);
/* oklch */ color: oklch(43.0% 0.114 259.2);
Tailwind
colors: {
  custom: {
    50: '#6e7faf',
    500: '#264e8d',
    950: '#000000',
  },
}
SCSS
$custom: #264e8d;
$custom-light: #6e7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#264e8d",
  "rgb": {
    "r": 38,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 216.699,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42955,
    "c": 0.11384,
    "h": 259.2
  },
  "luminance": 0.07784
}

Semantic roles & 50–950 ramp

primary
#264E8D
secondary
#B89257
accent
#A547E1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #264E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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