#264E98#264E98

#264E98 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.130 H 261.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#264E98
RGBrgb(38, 78, 152)
HSLhsl(219, 60%, 37%)
HSVhsv(219, 75%, 60%)
CMYKcmyk(75%, 48.7%, 0%, 40.4%)
CIE-LABlab(34.25, 12.91, -44.64)
CIE-LCHlch(34.25, 46.46, 286.13°)
OKLaboklab(43.74% -0.0194 -0.1281)
OKLCHoklch(43.74% 0.13 261.4)
XYZxyz(9.1892, 8.1268, 30.7840)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264E98 #987026
analogous
#268798 #264E98 #372698
triadic
#264E98 #98264E #4E9826
tetradic
#264E98 #982687 #987026 #269837
square
#264E98 #982687 #987026 #269837
split-complementary
#264E98 #983726 #879826
monochromatic
#0E1C36 #1A3567 #264E98 #3267C9 #618BD7

Accessibility & contrast

On white

8.00
#264E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#264E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264E98
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264E98#FFFFFF#000000##FFFFFF
##264E981.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25569B
Deuteranopia (green-blind)
#044C97
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #264e98;
/* rgb */ color: rgb(38, 78, 152);
/* oklch */ color: oklch(43.7% 0.130 261.4);
Tailwind
colors: {
  custom: {
    50: '#707fb7',
    500: '#264e98',
    950: '#000000',
  },
}
SCSS
$custom: #264e98;
$custom-light: #707fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#264e98",
  "rgb": {
    "r": 38,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 218.947,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4374,
    "c": 0.12956,
    "h": 261.4
  },
  "luminance": 0.08128
}

Semantic roles & 50–950 ramp

primary
#264E98
secondary
#BD9B5D
accent
#AC45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #264E98

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

Preview Lab → · Contrast checker → · Palette generator →

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