#264278#264278

#264278 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.098 H 262.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#264278
RGBrgb(38, 66, 120)
HSLhsl(220, 52%, 31%)
HSVhsv(220, 68%, 47%)
CMYKcmyk(68.3%, 45%, 0%, 52.9%)
CIE-LABlab(28.55, 8.57, -34.04)
CIE-LCHlch(28.55, 35.10, 284.13°)
OKLaboklab(38.68% -0.0134 -0.0971)
OKLCHoklch(38.68% 0.098 262.2)
XYZxyz(6.1365, 5.6640, 18.5355)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264278 #785C26
analogous
#266B78 #264278 #332678
triadic
#264278 #782642 #427826
tetradic
#264278 #78266B #785C26 #267833
square
#264278 #78266B #785C26 #267833
split-complementary
#264278 #783326 #6B7826
monochromatic
#090F1B #17284A #264278 #355CA6 #5179C8

Accessibility & contrast

On white

9.85
#264278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#264278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264278
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264278#FFFFFF#000000##FFFFFF
##2642781.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29477A
Deuteranopia (green-blind)
#1B4077
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #264278;
/* rgb */ color: rgb(38, 66, 120);
/* oklch */ color: oklch(38.7% 0.098 262.2);
Tailwind
colors: {
  custom: {
    50: '#6a759f',
    500: '#264278',
    950: '#000000',
  },
}
SCSS
$custom: #264278;
$custom-light: #6a759f;
$custom-dark: #000000;
JSON
{
  "hex": "#264278",
  "rgb": {
    "r": 38,
    "g": 66,
    "b": 120
  },
  "hsl": {
    "h": 219.512,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38682,
    "c": 0.09806,
    "h": 262.2
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#264278
secondary
#AA8B50
accent
#AB4CDB
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #264278

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

Preview Lab → · Contrast checker → · Palette generator →

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