#264A8E#264A8E

#264A8E is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.1% C 0.120 H 261.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#264A8E
RGBrgb(38, 74, 142)
HSLhsl(219, 58%, 35%)
HSVhsv(219, 73%, 56%)
CMYKcmyk(73.2%, 47.9%, 0%, 44.3%)
CIE-LABlab(32.40, 11.69, -41.52)
CIE-LCHlch(32.40, 43.14, 285.72°)
OKLaboklab(42.11% -0.0173 -0.119)
OKLCHoklch(42.11% 0.12 261.7)
XYZxyz(8.1288, 7.2618, 26.5592)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264A8E #8E6A26
analogous
#267E8E #264A8E #36268E
triadic
#264A8E #8E264A #4A8E26
tetradic
#264A8E #8E267E #8E6A26 #268E36
square
#264A8E #8E267E #8E6A26 #268E36
split-complementary
#264A8E #8E3626 #7E8E26
monochromatic
#0C182D #19315E #264A8E #3363BE #5B85D3

Accessibility & contrast

On white

8.56
#264A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #264A8E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264A8E#FFFFFF#000000##FFFFFF
##264A8E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265191
Deuteranopia (green-blind)
#0E488D
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #264a8e;
/* rgb */ color: rgb(38, 74, 142);
/* oklch */ color: oklch(42.1% 0.120 261.7);
Tailwind
colors: {
  custom: {
    50: '#6e7caf',
    500: '#264a8e',
    950: '#000000',
  },
}
SCSS
$custom: #264a8e;
$custom-light: #6e7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#264a8e",
  "rgb": {
    "r": 38,
    "g": 74,
    "b": 142
  },
  "hsl": {
    "h": 219.231,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42105,
    "c": 0.12028,
    "h": 261.7
  },
  "luminance": 0.07263
}

Semantic roles & 50–950 ramp

primary
#264A8E
secondary
#B89758
accent
#AC47E1
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #264A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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