#264791#264791

#264791 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.128 H 263.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#264791
RGBrgb(38, 71, 145)
HSLhsl(221, 58%, 36%)
HSVhsv(221, 74%, 57%)
CMYKcmyk(73.8%, 51%, 0%, 43.1%)
CIE-LABlab(31.72, 14.90, -44.45)
CIE-LCHlch(31.72, 46.88, 288.53°)
OKLaboklab(41.65% -0.0141 -0.1277)
OKLCHoklch(41.65% 0.128 263.7)
XYZxyz(8.1616, 6.9620, 27.6962)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264791 #917026
analogous
#267C91 #264791 #3A2691
triadic
#264791 #912647 #479126
tetradic
#264791 #91267C #917026 #26913A
square
#264791 #91267C #917026 #26913A
split-complementary
#264791 #913A26 #7C9126
monochromatic
#0D1830 #192F61 #264791 #335FC1 #5D82D5

Accessibility & contrast

On white

8.78
#264791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#264791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264791
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264791#FFFFFF#000000##FFFFFF
##2647911.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5094
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #264791;
/* rgb */ color: rgb(38, 71, 145);
/* oklch */ color: oklch(41.7% 0.128 263.7);
Tailwind
colors: {
  custom: {
    50: '#6f79b2',
    500: '#264791',
    950: '#000000',
  },
}
SCSS
$custom: #264791;
$custom-light: #6f79b2;
$custom-dark: #000000;
JSON
{
  "hex": "#264791",
  "rgb": {
    "r": 38,
    "g": 71,
    "b": 145
  },
  "hsl": {
    "h": 221.495,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41654,
    "c": 0.12845,
    "h": 263.7
  },
  "luminance": 0.06963
}

Semantic roles & 50–950 ramp

primary
#264791
secondary
#BA9C59
accent
#B246E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #264791

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

Preview Lab → · Contrast checker → · Palette generator →

#264791 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva