#264398#264398

#264398 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.144 H 266.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#264398
RGBrgb(38, 67, 152)
HSLhsl(225, 60%, 37%)
HSVhsv(225, 75%, 60%)
CMYKcmyk(75%, 55.9%, 0%, 40.4%)
CIE-LABlab(31.10, 20.35, -49.72)
CIE-LCHlch(31.10, 53.73, 292.26°)
OKLaboklab(41.34% -0.01 -0.1433)
OKLCHoklch(41.34% 0.144 266)
XYZxyz(8.4720, 6.6925, 30.5450)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264398 #987B26
analogous
#267C98 #264398 #422698
triadic
#264398 #982643 #439826
tetradic
#264398 #98267C #987B26 #269842
square
#264398 #98267C #987B26 #269842
split-complementary
#264398 #984226 #7C9826
monochromatic
#0E1836 #1A2D67 #264398 #3259C9 #617FD7

Accessibility & contrast

On white

8.98
#264398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#264398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264398
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264398#FFFFFF#000000##FFFFFF
##2643981.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #264398;
/* rgb */ color: rgb(38, 67, 152);
/* oklch */ color: oklch(41.3% 0.144 266.0);
Tailwind
colors: {
  custom: {
    50: '#7176b7',
    500: '#264398',
    950: '#000000',
  },
}
SCSS
$custom: #264398;
$custom-light: #7176b7;
$custom-dark: #000000;
JSON
{
  "hex": "#264398",
  "rgb": {
    "r": 38,
    "g": 67,
    "b": 152
  },
  "hsl": {
    "h": 224.737,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41344,
    "c": 0.14363,
    "h": 266
  },
  "luminance": 0.06693
}

Semantic roles & 50–950 ramp

primary
#264398
secondary
#BDA45D
accent
#BB45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #264398

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

Preview Lab → · Contrast checker → · Palette generator →

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