#264098#264098

#264098 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.147 H 267.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#264098
RGBrgb(38, 64, 152)
HSLhsl(226, 60%, 37%)
HSVhsv(226, 75%, 60%)
CMYKcmyk(75%, 57.9%, 0%, 40.4%)
CIE-LABlab(30.27, 22.39, -51.07)
CIE-LCHlch(30.27, 55.76, 293.67°)
OKLaboklab(40.72% -0.0076 -0.1473)
OKLCHoklch(40.72% 0.147 267)
XYZxyz(8.2982, 6.3450, 30.4870)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264098 #987E26
analogous
#267998 #264098 #452698
triadic
#264098 #982640 #409826
tetradic
#264098 #982679 #987E26 #269845
square
#264098 #982679 #987E26 #269845
split-complementary
#264098 #984526 #799826
monochromatic
#0E1736 #1A2B67 #264098 #3255C9 #617CD7

Accessibility & contrast

On white

9.25
#264098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#264098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264098
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264098#FFFFFF#000000##FFFFFF
##2640981.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #264098;
/* rgb */ color: rgb(38, 64, 152);
/* oklch */ color: oklch(40.7% 0.147 267.0);
Tailwind
colors: {
  custom: {
    50: '#7174b7',
    500: '#264098',
    950: '#000000',
  },
}
SCSS
$custom: #264098;
$custom-light: #7174b7;
$custom-dark: #000000;
JSON
{
  "hex": "#264098",
  "rgb": {
    "r": 38,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 226.316,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4072,
    "c": 0.14749,
    "h": 267
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#264098
secondary
#BDA75D
accent
#BF45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #264098

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

Preview Lab → · Contrast checker → · Palette generator →

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