#264170#264170

#264170 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 37.9% C 0.087 H 260.8°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#264170
RGBrgb(38, 65, 112)
HSLhsl(218, 49%, 29%)
HSVhsv(218, 66%, 44%)
CMYKcmyk(66.1%, 42%, 0%, 56.1%)
CIE-LABlab(27.74, 6.17, -30.27)
CIE-LCHlch(27.74, 30.89, 281.52°)
OKLaboklab(37.9% -0.014 -0.0861)
OKLCHoklch(37.9% 0.087 260.8)
XYZxyz(5.6132, 5.3620, 16.0652)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264170 #705526
analogous
#266670 #264170 #302670
triadic
#264170 #702641 #417026
tetradic
#264170 #702666 #705526 #267030
square
#264170 #702666 #705526 #267030
split-complementary
#264170 #703026 #667026
monochromatic
#080D17 #162642 #264170 #365C9E #4E78C3

Accessibility & contrast

On white

10.13
#264170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#264170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264170
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264170#FFFFFF#000000##FFFFFF
##2641701.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4572
Deuteranopia (green-blind)
#223E6F
Tritanopia (blue-blind)
#004C53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #264170;
/* rgb */ color: rgb(38, 65, 112);
/* oklch */ color: oklch(37.9% 0.087 260.8);
Tailwind
colors: {
  custom: {
    50: '#687599',
    500: '#264170',
    950: '#000000',
  },
}
SCSS
$custom: #264170;
$custom-light: #687599;
$custom-dark: #000000;
JSON
{
  "hex": "#264170",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 112
  },
  "hsl": {
    "h": 218.108,
    "s": 49.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37897,
    "c": 0.08723,
    "h": 260.8
  },
  "luminance": 0.05363
}

Semantic roles & 50–950 ramp

primary
#264170
secondary
#A3844F
accent
#A74FD9
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #264170

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

Preview Lab → · Contrast checker → · Palette generator →

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