#262A77#262A77

#262A77 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.129 H 274.7°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#262A77
RGBrgb(38, 42, 119)
HSLhsl(237, 52%, 31%)
HSVhsv(237, 68%, 47%)
CMYKcmyk(68.1%, 64.7%, 0%, 53.3%)
CIE-LABlab(21.58, 24.82, -44.66)
CIE-LCHlch(21.58, 51.09, 299.07°)
OKLaboklab(33.4% 0.0105 -0.1287)
OKLCHoklch(33.4% 0.129 274.7)
XYZxyz(4.9560, 3.3995, 17.8442)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A77 #777326
analogous
#265277 #262A77 #4A2677
triadic
#262A77 #77262A #2A7726
tetradic
#262A77 #772652 #777326 #26774A
square
#262A77 #772652 #777326 #26774A
split-complementary
#262A77 #774A26 #527726
monochromatic
#08091A #171A49 #262A77 #353AA5 #5056C7

Accessibility & contrast

On white

12.50
#262A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#262A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A77
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A77#FFFFFF#000000##FFFFFF
##262A771.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262a77;
/* rgb */ color: rgb(38, 42, 119);
/* oklch */ color: oklch(33.4% 0.129 274.7);
Tailwind
colors: {
  custom: {
    50: '#6b639f',
    500: '#262a77',
    950: '#000000',
  },
}
SCSS
$custom: #262a77;
$custom-light: #6b639f;
$custom-dark: #000000;
JSON
{
  "hex": "#262a77",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 237.037,
    "s": 51.592,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33397,
    "c": 0.12915,
    "h": 274.7
  },
  "luminance": 0.034
}

Semantic roles & 50–950 ramp

primary
#262A77
secondary
#A9A54F
accent
#D44DDB
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #262A77

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

Preview Lab → · Contrast checker → · Palette generator →

#262A77 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva