#262F84#262F84

#262F84 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.141 H 272.3°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#262F84
RGBrgb(38, 47, 132)
HSLhsl(234, 55%, 33%)
HSVhsv(234, 71%, 52%)
CMYKcmyk(71.2%, 64.4%, 0%, 48.2%)
CIE-LABlab(24.03, 26.30, -48.87)
CIE-LCHlch(24.03, 55.50, 298.28°)
OKLaboklab(35.56% 0.0057 -0.141)
OKLCHoklch(35.56% 0.141 272.3)
XYZxyz(5.9793, 4.1105, 22.3036)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F84 #847B26
analogous
#265E84 #262F84 #4C2684
triadic
#262F84 #84262F #2F8426
tetradic
#262F84 #84265E #847B26 #26844C
square
#262F84 #84265E #847B26 #26844C
split-complementary
#262F84 #844C26 #5E8426
monochromatic
#0B0D25 #181E54 #262F84 #3440B4 #5662CE

Accessibility & contrast

On white

11.52
#262F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#262F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F84
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F84#FFFFFF#000000##FFFFFF
##262F841.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262f84;
/* rgb */ color: rgb(38, 47, 132);
/* oklch */ color: oklch(35.6% 0.141 272.3);
Tailwind
colors: {
  custom: {
    50: '#6e67a9',
    500: '#262f84',
    950: '#000000',
  },
}
SCSS
$custom: #262f84;
$custom-light: #6e67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#262f84",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 234.255,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35562,
    "c": 0.14115,
    "h": 272.3
  },
  "luminance": 0.04111
}

Semantic roles & 50–950 ramp

primary
#262F84
secondary
#B3AA53
accent
#D049DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262F84

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

Preview Lab → · Contrast checker → · Palette generator →

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