#264198#264198

#264198 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.146 H 266.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#264198
RGBrgb(38, 65, 152)
HSLhsl(226, 60%, 37%)
HSVhsv(226, 75%, 60%)
CMYKcmyk(75%, 57.2%, 0%, 40.4%)
CIE-LABlab(30.54, 21.71, -50.63)
CIE-LCHlch(30.54, 55.08, 293.21°)
OKLaboklab(40.93% -0.0084 -0.146)
OKLCHoklch(40.93% 0.146 266.7)
XYZxyz(8.3551, 6.4588, 30.5060)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264198 #987D26
analogous
#267A98 #264198 #442698
triadic
#264198 #982641 #419826
tetradic
#264198 #98267A #987D26 #269844
square
#264198 #98267A #987D26 #269844
split-complementary
#264198 #984426 #7A9826
monochromatic
#0E1736 #1A2C67 #264198 #3256C9 #617DD7

Accessibility & contrast

On white

9.16
#264198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#264198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264198
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264198#FFFFFF#000000##FFFFFF
##2641981.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#004396
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #264198;
/* rgb */ color: rgb(38, 65, 152);
/* oklch */ color: oklch(40.9% 0.146 266.7);
Tailwind
colors: {
  custom: {
    50: '#7175b7',
    500: '#264198',
    950: '#000000',
  },
}
SCSS
$custom: #264198;
$custom-light: #7175b7;
$custom-dark: #000000;
JSON
{
  "hex": "#264198",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 152
  },
  "hsl": {
    "h": 225.789,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40927,
    "c": 0.1462,
    "h": 266.7
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#264198
secondary
#BDA65D
accent
#BE45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #264198

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

Preview Lab → · Contrast checker → · Palette generator →

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