#264187#264187

#264187 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.122 H 265.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#264187
RGBrgb(38, 65, 135)
HSLhsl(223, 56%, 34%)
HSVhsv(223, 72%, 53%)
CMYKcmyk(71.9%, 51.9%, 0%, 47.1%)
CIE-LABlab(29.26, 15.09, -42.25)
CIE-LCHlch(29.26, 44.87, 289.66°)
OKLaboklab(39.56% -0.0099 -0.1213)
OKLCHoklch(39.56% 0.122 265.3)
XYZxyz(7.0613, 5.9412, 23.6916)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264187 #876C26
analogous
#267287 #264187 #3C2687
triadic
#264187 #872641 #418726
tetradic
#264187 #872672 #876C26 #26873C
square
#264187 #872672 #876C26 #26873C
split-complementary
#264187 #873C26 #728726
monochromatic
#0B1327 #192A57 #264187 #3358B7 #5879D0

Accessibility & contrast

On white

9.60
#264187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#264187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264187
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264187#FFFFFF#000000##FFFFFF
##2641871.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8A
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #264187;
/* rgb */ color: rgb(38, 65, 135);
/* oklch */ color: oklch(39.6% 0.122 265.3);
Tailwind
colors: {
  custom: {
    50: '#6d75aa',
    500: '#264187',
    950: '#000000',
  },
}
SCSS
$custom: #264187;
$custom-light: #6d75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#264187",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 135
  },
  "hsl": {
    "h": 223.299,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39555,
    "c": 0.12173,
    "h": 265.3
  },
  "luminance": 0.05942
}

Semantic roles & 50–950 ramp

primary
#264187
secondary
#B59A54
accent
#B548DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #264187

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

Preview Lab → · Contrast checker → · Palette generator →

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