#264A8A#264A8A

#264A8A is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.8% C 0.114 H 260.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#264A8A
RGBrgb(38, 74, 138)
HSLhsl(218, 57%, 35%)
HSVhsv(218, 72%, 54%)
CMYKcmyk(72.5%, 46.4%, 0%, 45.9%)
CIE-LABlab(32.13, 10.13, -39.49)
CIE-LCHlch(32.13, 40.77, 284.39°)
OKLaboklab(41.82% -0.018 -0.113)
OKLCHoklch(41.82% 0.114 260.9)
XYZxyz(7.8339, 7.1438, 25.0059)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264A8A #8A6626
analogous
#267C8A #264A8A #34268A
triadic
#264A8A #8A264A #4A8A26
tetradic
#264A8A #8A267C #8A6626 #268A34
square
#264A8A #8A267C #8A6626 #268A34
split-complementary
#264A8A #8A3426 #7C8A26
monochromatic
#0C172A #19305A #264A8A #3364BA #5984D1

Accessibility & contrast

On white

8.65
#264A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#264A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264A8A
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264A8A#FFFFFF#000000##FFFFFF
##264A8A1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518C
Deuteranopia (green-blind)
#164789
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #264a8a;
/* rgb */ color: rgb(38, 74, 138);
/* oklch */ color: oklch(41.8% 0.114 260.9);
Tailwind
colors: {
  custom: {
    50: '#6d7cac',
    500: '#264a8a',
    950: '#000000',
  },
}
SCSS
$custom: #264a8a;
$custom-light: #6d7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#264a8a",
  "rgb": {
    "r": 38,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 218.4,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41817,
    "c": 0.11448,
    "h": 260.9
  },
  "luminance": 0.07145
}

Semantic roles & 50–950 ramp

primary
#264A8A
secondary
#B69356
accent
#A948E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #264A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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