#264174#264174

#264174 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.2% C 0.093 H 261.9°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#264174
RGBrgb(38, 65, 116)
HSLhsl(219, 51%, 30%)
HSVhsv(219, 67%, 45%)
CMYKcmyk(67.2%, 44%, 0%, 54.5%)
CIE-LABlab(27.99, 7.71, -32.41)
CIE-LCHlch(27.99, 33.31, 283.37°)
OKLaboklab(38.17% -0.0131 -0.0924)
OKLCHoklch(38.17% 0.093 261.9)
XYZxyz(5.8409, 5.4531, 17.2643)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264174 #745926
analogous
#266874 #264174 #322674
triadic
#264174 #742641 #417426
tetradic
#264174 #742668 #745926 #267432
square
#264174 #742668 #745926 #267432
split-complementary
#264174 #743226 #687426
monochromatic
#080D18 #172746 #264174 #355BA2 #4F78C5

Accessibility & contrast

On white

10.04
#264174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#264174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264174
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264174#FFFFFF#000000##FFFFFF
##2641741.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4676
Deuteranopia (green-blind)
#1E3F73
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #264174;
/* rgb */ color: rgb(38, 65, 116);
/* oklch */ color: oklch(38.2% 0.093 261.9);
Tailwind
colors: {
  custom: {
    50: '#69759c',
    500: '#264174',
    950: '#000000',
  },
}
SCSS
$custom: #264174;
$custom-light: #69759c;
$custom-dark: #000000;
JSON
{
  "hex": "#264174",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 116
  },
  "hsl": {
    "h": 219.231,
    "s": 50.649,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38168,
    "c": 0.09331,
    "h": 261.9
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#264174
secondary
#A6884F
accent
#AA4EDA
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #264174

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

Preview Lab → · Contrast checker → · Palette generator →

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