#264178#264178

#264178 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.099 H 262.9°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#264178
RGBrgb(38, 65, 120)
HSLhsl(220, 52%, 31%)
HSVhsv(220, 68%, 47%)
CMYKcmyk(68.3%, 45.8%, 0%, 52.9%)
CIE-LABlab(28.24, 9.25, -34.53)
CIE-LCHlch(28.24, 35.74, 285.00°)
OKLaboklab(38.45% -0.0123 -0.0986)
OKLCHoklch(38.45% 0.099 262.9)
XYZxyz(6.0786, 5.5481, 18.5162)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264178 #785D26
analogous
#266A78 #264178 #342678
triadic
#264178 #782641 #417826
tetradic
#264178 #78266A #785D26 #267834
square
#264178 #78266A #785D26 #267834
split-complementary
#264178 #783426 #6A7826
monochromatic
#090F1B #17284A #264178 #355AA6 #5178C8

Accessibility & contrast

On white

9.95
#264178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#264178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264178
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264178#FFFFFF#000000##FFFFFF
##2641781.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27477A
Deuteranopia (green-blind)
#193F77
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #264178;
/* rgb */ color: rgb(38, 65, 120);
/* oklch */ color: oklch(38.4% 0.099 262.9);
Tailwind
colors: {
  custom: {
    50: '#6a759f',
    500: '#264178',
    950: '#000000',
  },
}
SCSS
$custom: #264178;
$custom-light: #6a759f;
$custom-dark: #000000;
JSON
{
  "hex": "#264178",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 220.244,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38446,
    "c": 0.09936,
    "h": 262.9
  },
  "luminance": 0.05549
}

Semantic roles & 50–950 ramp

primary
#264178
secondary
#AA8C50
accent
#AC4CDB
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #264178

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

Preview Lab → · Contrast checker → · Palette generator →

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