#262F80#262F80

#262F80 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.135 H 272.5°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#262F80
RGBrgb(38, 47, 128)
HSLhsl(234, 54%, 33%)
HSVhsv(234, 70%, 50%)
CMYKcmyk(70.3%, 63.3%, 0%, 49.8%)
CIE-LABlab(23.68, 24.79, -46.93)
CIE-LCHlch(23.68, 53.08, 297.85°)
OKLaboklab(35.19% 0.0059 -0.1353)
OKLCHoklch(35.19% 0.135 272.5)
XYZxyz(5.7108, 4.0031, 20.8896)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F80 #807726
analogous
#265C80 #262F80 #4A2680
triadic
#262F80 #80262F #2F8026
tetradic
#262F80 #80265C #807726 #26804A
square
#262F80 #80265C #807726 #26804A
split-complementary
#262F80 #804A26 #5C8026
monochromatic
#0A0C22 #181E51 #262F80 #3440AF #5460CC

Accessibility & contrast

On white

11.66
#262F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#262F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F80
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F80#FFFFFF#000000##FFFFFF
##262F801.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262f80;
/* rgb */ color: rgb(38, 47, 128);
/* oklch */ color: oklch(35.2% 0.135 272.5);
Tailwind
colors: {
  custom: {
    50: '#6d67a6',
    500: '#262f80',
    950: '#000000',
  },
}
SCSS
$custom: #262f80;
$custom-light: #6d67a6;
$custom-dark: #000000;
JSON
{
  "hex": "#262f80",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 234,
    "s": 54.217,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35193,
    "c": 0.13548,
    "h": 272.5
  },
  "luminance": 0.04004
}

Semantic roles & 50–950 ramp

primary
#262F80
secondary
#B1A751
accent
#CF4ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #262F80

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

Preview Lab → · Contrast checker → · Palette generator →

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