#264171#264171

#264171 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.089 H 261.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#264171
RGBrgb(38, 65, 113)
HSLhsl(218, 50%, 30%)
HSVhsv(218, 66%, 44%)
CMYKcmyk(66.4%, 42.5%, 0%, 55.7%)
CIE-LABlab(27.80, 6.55, -30.80)
CIE-LCHlch(27.80, 31.49, 282.01°)
OKLaboklab(37.96% -0.0138 -0.0877)
OKLCHoklch(37.96% 0.089 261.1)
XYZxyz(5.6692, 5.3844, 16.3601)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264171 #715626
analogous
#266771 #264171 #312671
triadic
#264171 #712641 #417126
tetradic
#264171 #712667 #715626 #267131
square
#264171 #712667 #715626 #267131
split-complementary
#264171 #713126 #677126
monochromatic
#080D17 #172743 #264171 #355B9F #4E78C3

Accessibility & contrast

On white

10.11
#264171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#264171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264171
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264171#FFFFFF#000000##FFFFFF
##2641711.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4573
Deuteranopia (green-blind)
#213E70
Tritanopia (blue-blind)
#004C53
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #264171;
/* rgb */ color: rgb(38, 65, 113);
/* oklch */ color: oklch(38.0% 0.089 261.1);
Tailwind
colors: {
  custom: {
    50: '#69759a',
    500: '#264171',
    950: '#000000',
  },
}
SCSS
$custom: #264171;
$custom-light: #69759a;
$custom-dark: #000000;
JSON
{
  "hex": "#264171",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 113
  },
  "hsl": {
    "h": 218.4,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37964,
    "c": 0.08876,
    "h": 261.1
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #264171

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

Preview Lab → · Contrast checker → · Palette generator →

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