#264E8C#264E8C

#264E8C is a dark, moderate blue. Relative luminance 0.078; OKLCH L 42.9% C 0.112 H 258.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#264E8C
RGBrgb(38, 78, 140)
HSLhsl(216, 57%, 35%)
HSVhsv(216, 73%, 55%)
CMYKcmyk(72.9%, 44.3%, 0%, 45.1%)
CIE-LABlab(33.46, 8.23, -38.59)
CIE-LCHlch(33.46, 39.45, 282.03°)
OKLaboklab(42.89% -0.0215 -0.1103)
OKLCHoklch(42.89% 0.112 258.9)
XYZxyz(8.2556, 7.7534, 25.8673)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264E8C #8C6426
analogous
#26818C #264E8C #31268C
triadic
#264E8C #8C264E #4E8C26
tetradic
#264E8C #8C2681 #8C6426 #268C31
square
#264E8C #8C2681 #8C6426 #268C31
split-complementary
#264E8C #8C3126 #818C26
monochromatic
#0C182C #19335C #264E8C #3369BC #5A89D2

Accessibility & contrast

On white

8.23
#264E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#264E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264E8C
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264E8C#FFFFFF#000000##FFFFFF
##264E8C1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548E
Deuteranopia (green-blind)
#1E4A8B
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #264e8c;
/* rgb */ color: rgb(38, 78, 140);
/* oklch */ color: oklch(42.9% 0.112 258.9);
Tailwind
colors: {
  custom: {
    50: '#6e7fae',
    500: '#264e8c',
    950: '#000000',
  },
}
SCSS
$custom: #264e8c;
$custom-light: #6e7fae;
$custom-dark: #000000;
JSON
{
  "hex": "#264e8c",
  "rgb": {
    "r": 38,
    "g": 78,
    "b": 140
  },
  "hsl": {
    "h": 216.471,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42886,
    "c": 0.1124,
    "h": 258.9
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#264E8C
secondary
#B79157
accent
#A447E1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #264E8C

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

Preview Lab → · Contrast checker → · Palette generator →

#264E8C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva