#264682#264682

#264682 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.108 H 261.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#264682
RGBrgb(38, 70, 130)
HSLhsl(219, 55%, 33%)
HSVhsv(219, 71%, 51%)
CMYKcmyk(70.8%, 46.2%, 0%, 49%)
CIE-LABlab(30.41, 9.72, -37.31)
CIE-LCHlch(30.41, 38.56, 284.60°)
OKLaboklab(40.32% -0.0156 -0.1067)
OKLCHoklch(40.32% 0.108 261.7)
XYZxyz(7.0173, 6.4034, 21.9809)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264682 #826226
analogous
#267482 #264682 #342682
triadic
#264682 #822646 #468226
tetradic
#264682 #822674 #826226 #268234
square
#264682 #822674 #826226 #268234
split-complementary
#264682 #823426 #748226
monochromatic
#0A1323 #182D53 #264682 #3460B1 #557FCD

Accessibility & contrast

On white

9.21
#264682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#264682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264682
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264682#FFFFFF#000000##FFFFFF
##2646821.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#184481
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #264682;
/* rgb */ color: rgb(38, 70, 130);
/* oklch */ color: oklch(40.3% 0.108 261.7);
Tailwind
colors: {
  custom: {
    50: '#6c79a7',
    500: '#264682',
    950: '#000000',
  },
}
SCSS
$custom: #264682;
$custom-light: #6c79a7;
$custom-dark: #000000;
JSON
{
  "hex": "#264682",
  "rgb": {
    "r": 38,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 219.13,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40322,
    "c": 0.10784,
    "h": 261.7
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#264682
secondary
#B29052
accent
#AA4ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #264682

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

Preview Lab → · Contrast checker → · Palette generator →

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