#264D98#264D98

#264D98 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.131 H 261.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#264D98
RGBrgb(38, 77, 152)
HSLhsl(219, 60%, 37%)
HSVhsv(219, 75%, 60%)
CMYKcmyk(75%, 49.3%, 0%, 40.4%)
CIE-LABlab(33.95, 13.58, -45.11)
CIE-LCHlch(33.95, 47.11, 286.75°)
OKLaboklab(43.52% -0.0185 -0.1295)
OKLCHoklch(43.52% 0.131 261.9)
XYZxyz(9.1187, 7.9858, 30.7605)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264D98 #987126
analogous
#268698 #264D98 #382698
triadic
#264D98 #98264D #4D9826
tetradic
#264D98 #982686 #987126 #269838
square
#264D98 #982686 #987126 #269838
split-complementary
#264D98 #983826 #869826
monochromatic
#0E1B36 #1A3467 #264D98 #3266C9 #6189D7

Accessibility & contrast

On white

8.09
#264D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#264D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264D98
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264D98#FFFFFF#000000##FFFFFF
##264D981.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559B
Deuteranopia (green-blind)
#004B96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #264d98;
/* rgb */ color: rgb(38, 77, 152);
/* oklch */ color: oklch(43.5% 0.131 261.9);
Tailwind
colors: {
  custom: {
    50: '#717eb7',
    500: '#264d98',
    950: '#000000',
  },
}
SCSS
$custom: #264d98;
$custom-light: #717eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#264d98",
  "rgb": {
    "r": 38,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 219.474,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43516,
    "c": 0.13082,
    "h": 261.9
  },
  "luminance": 0.07987
}

Semantic roles & 50–950 ramp

primary
#264D98
secondary
#BD9C5D
accent
#AD45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #264D98

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

Preview Lab → · Contrast checker → · Palette generator →

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