#264172#264172

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

Color values

HEX#264172
RGBrgb(38, 65, 114)
HSLhsl(219, 50%, 30%)
HSVhsv(219, 67%, 45%)
CMYKcmyk(66.7%, 43%, 0%, 55.3%)
CIE-LABlab(27.86, 6.94, -31.34)
CIE-LCHlch(27.86, 32.10, 282.48°)
OKLaboklab(38.03% -0.0136 -0.0892)
OKLCHoklch(38.03% 0.09 261.4)
XYZxyz(5.7258, 5.4070, 16.6582)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264172 #725726
analogous
#266772 #264172 #312672
triadic
#264172 #722641 #417226
tetradic
#264172 #722667 #725726 #267231
square
#264172 #722667 #725726 #267231
split-complementary
#264172 #723126 #677226
monochromatic
#080D17 #172744 #264172 #355BA0 #4E78C4

Accessibility & contrast

On white

10.09
#264172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #264172
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264172#FFFFFF#000000##FFFFFF
##2641721.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4674
Deuteranopia (green-blind)
#203F71
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #264172;
/* rgb */ color: rgb(38, 65, 114);
/* oklch */ color: oklch(38.0% 0.090 261.4);
Tailwind
colors: {
  custom: {
    50: '#69759b',
    500: '#264172',
    950: '#000000',
  },
}
SCSS
$custom: #264172;
$custom-light: #69759b;
$custom-dark: #000000;
JSON
{
  "hex": "#264172",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 114
  },
  "hsl": {
    "h": 218.684,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38032,
    "c": 0.09027,
    "h": 261.4
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#264172
secondary
#A5864F
accent
#A84EDA
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #264172

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

Preview Lab → · Contrast checker → · Palette generator →

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