#264A8D#264A8D

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

Color values

HEX#264A8D
RGBrgb(38, 74, 141)
HSLhsl(219, 58%, 35%)
HSVhsv(219, 73%, 55%)
CMYKcmyk(73%, 47.5%, 0%, 44.7%)
CIE-LABlab(32.33, 11.30, -41.02)
CIE-LCHlch(32.33, 42.54, 285.40°)
OKLaboklab(42.03% -0.0175 -0.1175)
OKLCHoklch(42.03% 0.119 261.5)
XYZxyz(8.0541, 7.2319, 26.1656)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264A8D #8D6926
analogous
#267E8D #264A8D #35268D
triadic
#264A8D #8D264A #4A8D26
tetradic
#264A8D #8D267E #8D6926 #268D35
square
#264A8D #8D267E #8D6926 #268D35
split-complementary
#264A8D #8D3526 #7E8D26
monochromatic
#0C172D #19315D #264A8D #3363BD #5B85D3

Accessibility & contrast

On white

8.58
#264A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#264A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264A8D
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264A8D#FFFFFF#000000##FFFFFF
##264A8D1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275190
Deuteranopia (green-blind)
#10488C
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #264a8d;
/* rgb */ color: rgb(38, 74, 141);
/* oklch */ color: oklch(42.0% 0.119 261.5);
Tailwind
colors: {
  custom: {
    50: '#6e7caf',
    500: '#264a8d',
    950: '#000000',
  },
}
SCSS
$custom: #264a8d;
$custom-light: #6e7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#264a8d",
  "rgb": {
    "r": 38,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 219.029,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42032,
    "c": 0.11883,
    "h": 261.5
  },
  "luminance": 0.07233
}

Semantic roles & 50–950 ramp

primary
#264A8D
secondary
#B89657
accent
#AB47E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #264A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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