#264A8C#264A8C

#264A8C is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.0% C 0.117 H 261.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#264A8C
RGBrgb(38, 74, 140)
HSLhsl(219, 57%, 35%)
HSVhsv(219, 73%, 55%)
CMYKcmyk(72.9%, 47.1%, 0%, 45.1%)
CIE-LABlab(32.26, 10.91, -40.51)
CIE-LCHlch(32.26, 41.95, 285.07°)
OKLaboklab(41.96% -0.0177 -0.116)
OKLCHoklch(41.96% 0.117 261.3)
XYZxyz(7.9800, 7.2022, 25.7755)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264A8C #8C6826
analogous
#267D8C #264A8C #35268C
triadic
#264A8C #8C264A #4A8C26
tetradic
#264A8C #8C267D #8C6826 #268C35
square
#264A8C #8C267D #8C6826 #268C35
split-complementary
#264A8C #8C3526 #7D8C26
monochromatic
#0C172C #19315C #264A8C #3363BC #5A85D2

Accessibility & contrast

On white

8.60
#264A8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#264A8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264A8C
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264A8C#FFFFFF#000000##FFFFFF
##264A8C1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28518E
Deuteranopia (green-blind)
#12488B
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #264a8c;
/* rgb */ color: rgb(38, 74, 140);
/* oklch */ color: oklch(42.0% 0.117 261.3);
Tailwind
colors: {
  custom: {
    50: '#6e7cae',
    500: '#264a8c',
    950: '#000000',
  },
}
SCSS
$custom: #264a8c;
$custom-light: #6e7cae;
$custom-dark: #000000;
JSON
{
  "hex": "#264a8c",
  "rgb": {
    "r": 38,
    "g": 74,
    "b": 140
  },
  "hsl": {
    "h": 218.824,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4196,
    "c": 0.11738,
    "h": 261.3
  },
  "luminance": 0.07203
}

Semantic roles & 50–950 ramp

primary
#264A8C
secondary
#B79557
accent
#AA47E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #264A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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