#264397#264397

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

Color values

HEX#264397
RGBrgb(38, 67, 151)
HSLhsl(225, 60%, 37%)
HSVhsv(225, 75%, 59%)
CMYKcmyk(74.8%, 55.6%, 0%, 40.8%)
CIE-LABlab(31.02, 19.96, -49.24)
CIE-LCHlch(31.02, 53.13, 292.07°)
OKLaboklab(41.26% -0.0101 -0.1418)
OKLCHoklch(41.26% 0.142 265.9)
XYZxyz(8.3904, 6.6598, 30.1154)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264397 #977A26
analogous
#267B97 #264397 #422697
triadic
#264397 #972643 #439726
tetradic
#264397 #97267B #977A26 #269742
square
#264397 #97267B #977A26 #269742
split-complementary
#264397 #974226 #7B9726
monochromatic
#0D1835 #1A2D66 #264397 #3259C8 #607FD7

Accessibility & contrast

On white

9.00
#264397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#264397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264397
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264397#FFFFFF#000000##FFFFFF
##2643971.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #264397;
/* rgb */ color: rgb(38, 67, 151);
/* oklch */ color: oklch(41.3% 0.142 265.9);
Tailwind
colors: {
  custom: {
    50: '#7176b6',
    500: '#264397',
    950: '#000000',
  },
}
SCSS
$custom: #264397;
$custom-light: #7176b6;
$custom-dark: #000000;
JSON
{
  "hex": "#264397",
  "rgb": {
    "r": 38,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 224.602,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41262,
    "c": 0.14221,
    "h": 265.9
  },
  "luminance": 0.06661
}

Semantic roles & 50–950 ramp

primary
#264397
secondary
#BCA45C
accent
#BA45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #264397

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

Preview Lab → · Contrast checker → · Palette generator →

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