#264D8D#264D8D

#264D8D is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.7% C 0.115 H 259.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#264D8D
RGBrgb(38, 77, 141)
HSLhsl(217, 58%, 35%)
HSVhsv(217, 73%, 55%)
CMYKcmyk(73%, 45.4%, 0%, 44.7%)
CIE-LABlab(33.23, 9.28, -39.58)
CIE-LCHlch(33.23, 40.65, 283.20°)
OKLaboklab(42.72% -0.0204 -0.1132)
OKLCHoklch(42.72% 0.115 259.8)
XYZxyz(8.2592, 7.6420, 26.2339)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264D8D #8D6626
analogous
#26808D #264D8D #33268D
triadic
#264D8D #8D264D #4D8D26
tetradic
#264D8D #8D2680 #8D6626 #268D33
square
#264D8D #8D2680 #8D6626 #268D33
split-complementary
#264D8D #8D3326 #808D26
monochromatic
#0C182D #19335D #264D8D #3367BD #5B88D3

Accessibility & contrast

On white

8.30
#264D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#264D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264D8D
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264D8D#FFFFFF#000000##FFFFFF
##264D8D1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D538F
Deuteranopia (green-blind)
#1A4A8C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #264d8d;
/* rgb */ color: rgb(38, 77, 141);
/* oklch */ color: oklch(42.7% 0.115 259.8);
Tailwind
colors: {
  custom: {
    50: '#6e7eaf',
    500: '#264d8d',
    950: '#000000',
  },
}
SCSS
$custom: #264d8d;
$custom-light: #6e7eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#264d8d",
  "rgb": {
    "r": 38,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 217.282,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42723,
    "c": 0.11507,
    "h": 259.8
  },
  "luminance": 0.07643
}

Semantic roles & 50–950 ramp

primary
#264D8D
secondary
#B89357
accent
#A747E1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #264D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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