#264C98#264C98

#264C98 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.132 H 262.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#264C98
RGBrgb(38, 76, 152)
HSLhsl(220, 60%, 37%)
HSVhsv(220, 75%, 60%)
CMYKcmyk(75%, 50%, 0%, 40.4%)
CIE-LABlab(33.66, 14.25, -45.58)
CIE-LCHlch(33.66, 47.75, 287.36°)
OKLaboklab(43.29% -0.0176 -0.1309)
OKLCHoklch(43.29% 0.132 262.3)
XYZxyz(9.0492, 7.8470, 30.7374)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264C98 #987226
analogous
#268598 #264C98 #392698
triadic
#264C98 #98264C #4C9826
tetradic
#264C98 #982685 #987226 #269839
square
#264C98 #982685 #987226 #269839
split-complementary
#264C98 #983926 #859826
monochromatic
#0E1B36 #1A3467 #264C98 #3264C9 #6188D7

Accessibility & contrast

On white

8.17
#264C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#264C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264C98
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264C98#FFFFFF#000000##FFFFFF
##264C981.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #264c98;
/* rgb */ color: rgb(38, 76, 152);
/* oklch */ color: oklch(43.3% 0.132 262.3);
Tailwind
colors: {
  custom: {
    50: '#717db7',
    500: '#264c98',
    950: '#000000',
  },
}
SCSS
$custom: #264c98;
$custom-light: #717db7;
$custom-dark: #000000;
JSON
{
  "hex": "#264c98",
  "rgb": {
    "r": 38,
    "g": 76,
    "b": 152
  },
  "hsl": {
    "h": 220,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43293,
    "c": 0.13209,
    "h": 262.3
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#264C98
secondary
#BD9D5D
accent
#AE45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #264C98

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

Preview Lab → · Contrast checker → · Palette generator →

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