#264D8E#264D8E

#264D8E is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.8% C 0.117 H 260.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#264D8E
RGBrgb(38, 77, 142)
HSLhsl(218, 58%, 35%)
HSVhsv(218, 73%, 56%)
CMYKcmyk(73.2%, 45.8%, 0%, 44.3%)
CIE-LABlab(33.29, 9.67, -40.09)
CIE-LCHlch(33.29, 41.24, 283.57°)
OKLaboklab(42.79% -0.0202 -0.1147)
OKLCHoklch(42.79% 0.117 260)
XYZxyz(8.3339, 7.6719, 26.6276)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264D8E #8E6726
analogous
#26818E #264D8E #33268E
triadic
#264D8E #8E264D #4D8E26
tetradic
#264D8E #8E2681 #8E6726 #268E33
square
#264D8E #8E2681 #8E6726 #268E33
split-complementary
#264D8E #8E3326 #818E26
monochromatic
#0C192D #19335E #264D8E #3367BE #5B88D3

Accessibility & contrast

On white

8.29
#264D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#264D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264D8E
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264D8E#FFFFFF#000000##FFFFFF
##264D8E1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#184A8D
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #264d8e;
/* rgb */ color: rgb(38, 77, 142);
/* oklch */ color: oklch(42.8% 0.117 260.0);
Tailwind
colors: {
  custom: {
    50: '#6e7eaf',
    500: '#264d8e',
    950: '#000000',
  },
}
SCSS
$custom: #264d8e;
$custom-light: #6e7eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#264d8e",
  "rgb": {
    "r": 38,
    "g": 77,
    "b": 142
  },
  "hsl": {
    "h": 217.5,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42793,
    "c": 0.1165,
    "h": 260
  },
  "luminance": 0.07673
}

Semantic roles & 50–950 ramp

primary
#264D8E
secondary
#B89458
accent
#A747E1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #264D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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