#264F7F#264F7F

#264F7F is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.3% C 0.093 H 253.9°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#264F7F
RGBrgb(38, 79, 127)
HSLhsl(212, 54%, 32%)
HSVhsv(212, 70%, 50%)
CMYKcmyk(70.1%, 37.8%, 0%, 50.2%)
CIE-LABlab(33.00, 2.55, -31.33)
CIE-LCHlch(33.00, 31.43, 274.65°)
OKLaboklab(42.27% -0.0257 -0.089)
OKLCHoklch(42.27% 0.093 253.9)
XYZxyz(7.4247, 7.5356, 21.1378)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264F7F #7F5626
analogous
#267B7F #264F7F #2A267F
triadic
#264F7F #7F264F #4F7F26
tetradic
#264F7F #7F267B #7F5626 #267F2A
square
#264F7F #7F267B #7F5626 #267F2A
split-complementary
#264F7F #7F2A26 #7B7F26
monochromatic
#0A1421 #183250 #264F7F #346CAE #548BCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##264F7F#FFFFFF#000000##FFFFFF
##264F7F1.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)
#3A5281
Deuteranopia (green-blind)
#2D4A7E
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #264f7f;
/* rgb */ color: rgb(38, 79, 127);
/* oklch */ color: oklch(42.3% 0.093 253.9);
Tailwind
colors: {
  custom: {
    50: '#6b80a4',
    500: '#264f7f',
    950: '#000000',
  },
}
SCSS
$custom: #264f7f;
$custom-light: #6b80a4;
$custom-dark: #000000;
JSON
{
  "hex": "#264f7f",
  "rgb": {
    "r": 38,
    "g": 79,
    "b": 127
  },
  "hsl": {
    "h": 212.36,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42271,
    "c": 0.09266,
    "h": 253.9
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#264F7F
secondary
#B08451
accent
#9A4ADD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #264F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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