#262F85#262F85

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

Color values

HEX#262F85
RGBrgb(38, 47, 133)
HSLhsl(234, 56%, 34%)
HSVhsv(234, 71%, 52%)
CMYKcmyk(71.4%, 64.7%, 0%, 47.8%)
CIE-LABlab(24.12, 26.67, -49.35)
CIE-LCHlch(24.12, 56.10, 298.39°)
OKLaboklab(35.66% 0.0056 -0.1424)
OKLCHoklch(35.66% 0.143 272.3)
XYZxyz(6.0481, 4.1380, 22.6657)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F85 #857C26
analogous
#265E85 #262F85 #4C2685
triadic
#262F85 #85262F #2F8526
tetradic
#262F85 #85265E #857C26 #26854C
square
#262F85 #85265E #857C26 #26854C
split-complementary
#262F85 #854C26 #5E8526
monochromatic
#0B0D26 #181E55 #262F85 #3440B5 #5762CF

Accessibility & contrast

On white

11.49
#262F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#262F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F85
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F85#FFFFFF#000000##FFFFFF
##262F851.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262f85;
/* rgb */ color: rgb(38, 47, 133);
/* oklch */ color: oklch(35.7% 0.143 272.3);
Tailwind
colors: {
  custom: {
    50: '#6e67a9',
    500: '#262f85',
    950: '#000000',
  },
}
SCSS
$custom: #262f85;
$custom-light: #6e67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#262f85",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 234.316,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35655,
    "c": 0.14256,
    "h": 272.3
  },
  "luminance": 0.04139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262F85

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

Preview Lab → · Contrast checker → · Palette generator →

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