#264C8E#264C8E

#264C8E is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.6% C 0.118 H 260.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#264C8E
RGBrgb(38, 76, 142)
HSLhsl(218, 58%, 35%)
HSVhsv(218, 73%, 56%)
CMYKcmyk(73.2%, 46.5%, 0%, 44.3%)
CIE-LABlab(32.99, 10.34, -40.57)
CIE-LCHlch(32.99, 41.86, 284.30°)
OKLaboklab(42.56% -0.0192 -0.1162)
OKLCHoklch(42.56% 0.118 260.6)
XYZxyz(8.2645, 7.5331, 26.6044)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264C8E #8E6826
analogous
#26808E #264C8E #34268E
triadic
#264C8E #8E264C #4C8E26
tetradic
#264C8E #8E2680 #8E6826 #268E34
square
#264C8E #8E2680 #8E6826 #268E34
split-complementary
#264C8E #8E3426 #808E26
monochromatic
#0C182D #19325E #264C8E #3366BE #5B87D3

Accessibility & contrast

On white

8.38
#264C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#264C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264C8E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264C8E#FFFFFF#000000##FFFFFF
##264C8E1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5390
Deuteranopia (green-blind)
#15498D
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #264c8e;
/* rgb */ color: rgb(38, 76, 142);
/* oklch */ color: oklch(42.6% 0.118 260.6);
Tailwind
colors: {
  custom: {
    50: '#6e7daf',
    500: '#264c8e',
    950: '#000000',
  },
}
SCSS
$custom: #264c8e;
$custom-light: #6e7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#264c8e",
  "rgb": {
    "r": 38,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 218.077,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42562,
    "c": 0.11775,
    "h": 260.6
  },
  "luminance": 0.07534
}

Semantic roles & 50–950 ramp

primary
#264C8E
secondary
#B89558
accent
#A947E1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #264C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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