#264698#264698

#264698 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.140 H 264.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#264698
RGBrgb(38, 70, 152)
HSLhsl(223, 60%, 37%)
HSVhsv(223, 75%, 60%)
CMYKcmyk(75%, 53.9%, 0%, 40.4%)
CIE-LABlab(31.94, 18.31, -48.36)
CIE-LCHlch(31.94, 51.71, 290.74°)
OKLaboklab(41.98% -0.0125 -0.1392)
OKLCHoklch(41.98% 0.14 264.9)
XYZxyz(8.6550, 7.0584, 30.6060)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264698 #987826
analogous
#267F98 #264698 #3F2698
triadic
#264698 #982646 #469826
tetradic
#264698 #98267F #987826 #26983F
square
#264698 #98267F #987826 #26983F
split-complementary
#264698 #983F26 #7F9826
monochromatic
#0E1936 #1A2F67 #264698 #325DC9 #6182D7

Accessibility & contrast

On white

8.71
#264698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#264698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264698
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264698#FFFFFF#000000##FFFFFF
##2646981.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A519B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #264698;
/* rgb */ color: rgb(38, 70, 152);
/* oklch */ color: oklch(42.0% 0.140 264.9);
Tailwind
colors: {
  custom: {
    50: '#7178b7',
    500: '#264698',
    950: '#000000',
  },
}
SCSS
$custom: #264698;
$custom-light: #7178b7;
$custom-dark: #000000;
JSON
{
  "hex": "#264698",
  "rgb": {
    "r": 38,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 223.158,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41982,
    "c": 0.13977,
    "h": 264.9
  },
  "luminance": 0.07059
}

Semantic roles & 50–950 ramp

primary
#264698
secondary
#BDA25D
accent
#B745E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #264698

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

Preview Lab → · Contrast checker → · Palette generator →

#264698 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva