#264197#264197

#264197 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.145 H 266.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#264197
RGBrgb(38, 65, 151)
HSLhsl(226, 60%, 37%)
HSVhsv(226, 75%, 59%)
CMYKcmyk(74.8%, 57%, 0%, 40.8%)
CIE-LABlab(30.46, 21.32, -50.14)
CIE-LCHlch(30.46, 54.49, 293.04°)
OKLaboklab(40.84% -0.0085 -0.1445)
OKLCHoklch(40.84% 0.145 266.6)
XYZxyz(8.2736, 6.4261, 30.0765)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264197 #977C26
analogous
#267997 #264197 #442697
triadic
#264197 #972641 #419726
tetradic
#264197 #972679 #977C26 #269744
square
#264197 #972679 #977C26 #269744
split-complementary
#264197 #974426 #799726
monochromatic
#0D1735 #1A2C66 #264197 #3256C8 #607DD7

Accessibility & contrast

On white

9.19
#264197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #264197
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264197#FFFFFF#000000##FFFFFF
##2641971.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #264197;
/* rgb */ color: rgb(38, 65, 151);
/* oklch */ color: oklch(40.8% 0.145 266.6);
Tailwind
colors: {
  custom: {
    50: '#7175b6',
    500: '#264197',
    950: '#000000',
  },
}
SCSS
$custom: #264197;
$custom-light: #7175b6;
$custom-dark: #000000;
JSON
{
  "hex": "#264197",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 225.664,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40843,
    "c": 0.14479,
    "h": 266.6
  },
  "luminance": 0.06427
}

Semantic roles & 50–950 ramp

primary
#264197
secondary
#BCA55C
accent
#BD45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #264197

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

Preview Lab → · Contrast checker → · Palette generator →

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