#264279#264279

#264279 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.100 H 262.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#264279
RGBrgb(38, 66, 121)
HSLhsl(220, 52%, 31%)
HSVhsv(220, 69%, 47%)
CMYKcmyk(68.6%, 45.5%, 0%, 52.5%)
CIE-LABlab(28.61, 8.95, -34.56)
CIE-LCHlch(28.61, 35.70, 284.52°)
OKLaboklab(38.75% -0.0132 -0.0987)
OKLCHoklch(38.75% 0.1 262.4)
XYZxyz(6.1975, 5.6884, 18.8568)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264279 #795D26
analogous
#266B79 #264279 #332679
triadic
#264279 #792642 #427926
tetradic
#264279 #79266B #795D26 #267933
square
#264279 #79266B #795D26 #267933
split-complementary
#264279 #793326 #6B7926
monochromatic
#090F1C #17294A #264279 #355BA8 #5179C8

Accessibility & contrast

On white

9.82
#264279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#264279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264279
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264279#FFFFFF#000000##FFFFFF
##2642791.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#1A4078
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #264279;
/* rgb */ color: rgb(38, 66, 121);
/* oklch */ color: oklch(38.8% 0.100 262.4);
Tailwind
colors: {
  custom: {
    50: '#6a75a0',
    500: '#264279',
    950: '#000000',
  },
}
SCSS
$custom: #264279;
$custom-light: #6a75a0;
$custom-dark: #000000;
JSON
{
  "hex": "#264279",
  "rgb": {
    "r": 38,
    "g": 66,
    "b": 121
  },
  "hsl": {
    "h": 219.759,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38751,
    "c": 0.09957,
    "h": 262.4
  },
  "luminance": 0.05689
}

Semantic roles & 50–950 ramp

primary
#264279
secondary
#AB8C50
accent
#AB4CDC
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #264279

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

Preview Lab → · Contrast checker → · Palette generator →

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