#264271#264271

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

Color values

HEX#264271
RGBrgb(38, 66, 113)
HSLhsl(218, 50%, 30%)
HSVhsv(218, 66%, 44%)
CMYKcmyk(66.4%, 41.6%, 0%, 55.7%)
CIE-LABlab(28.11, 5.87, -30.31)
CIE-LCHlch(28.11, 30.87, 280.96°)
OKLaboklab(38.21% -0.0149 -0.0862)
OKLCHoklch(38.21% 0.087 260.2)
XYZxyz(5.7271, 5.5002, 16.3794)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264271 #715526
analogous
#266871 #264271 #302671
triadic
#264271 #712642 #427126
tetradic
#264271 #712668 #715526 #267130
square
#264271 #712668 #715526 #267130
split-complementary
#264271 #713026 #687126
monochromatic
#080D17 #172743 #264271 #355D9F #4E7AC3

Accessibility & contrast

On white

10.00
#264271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#264271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264271
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264271#FFFFFF#000000##FFFFFF
##2642711.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#223F70
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #264271;
/* rgb */ color: rgb(38, 66, 113);
/* oklch */ color: oklch(38.2% 0.087 260.2);
Tailwind
colors: {
  custom: {
    50: '#68769a',
    500: '#264271',
    950: '#000000',
  },
}
SCSS
$custom: #264271;
$custom-light: #68769a;
$custom-dark: #000000;
JSON
{
  "hex": "#264271",
  "rgb": {
    "r": 38,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 217.6,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38206,
    "c": 0.08749,
    "h": 260.2
  },
  "luminance": 0.05501
}

Semantic roles & 50–950 ramp

primary
#264271
secondary
#A4844F
accent
#A54FD9
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #264271

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

Preview Lab → · Contrast checker → · Palette generator →

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