#264F98#264F98

#264F98 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.128 H 260.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#264F98
RGBrgb(38, 79, 152)
HSLhsl(218, 60%, 37%)
HSVhsv(218, 75%, 60%)
CMYKcmyk(75%, 48%, 0%, 40.4%)
CIE-LABlab(34.54, 12.24, -44.16)
CIE-LCHlch(34.54, 45.83, 285.49°)
OKLaboklab(43.97% -0.0202 -0.1267)
OKLCHoklch(43.97% 0.128 260.9)
XYZxyz(9.2608, 8.2700, 30.8079)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264F98 #986F26
analogous
#268898 #264F98 #362698
triadic
#264F98 #98264F #4F9826
tetradic
#264F98 #982688 #986F26 #269836
square
#264F98 #982688 #986F26 #269836
split-complementary
#264F98 #983626 #889826
monochromatic
#0E1C36 #1A3667 #264F98 #3268C9 #618CD7

Accessibility & contrast

On white

7.91
#264F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#264F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264F98
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264F98#FFFFFF#000000##FFFFFF
##264F981.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579B
Deuteranopia (green-blind)
#094C97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #264f98;
/* rgb */ color: rgb(38, 79, 152);
/* oklch */ color: oklch(44.0% 0.128 260.9);
Tailwind
colors: {
  custom: {
    50: '#707fb7',
    500: '#264f98',
    950: '#000000',
  },
}
SCSS
$custom: #264f98;
$custom-light: #707fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#264f98",
  "rgb": {
    "r": 38,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 218.421,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43965,
    "c": 0.12831,
    "h": 260.9
  },
  "luminance": 0.08271
}

Semantic roles & 50–950 ramp

primary
#264F98
secondary
#BD9A5D
accent
#AA45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #264F98

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

Preview Lab → · Contrast checker → · Palette generator →

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