#262D8E#262D8E

#262D8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.157 H 272.3°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#262D8E
RGBrgb(38, 45, 142)
HSLhsl(236, 58%, 35%)
HSVhsv(236, 73%, 56%)
CMYKcmyk(73.2%, 68.3%, 0%, 44.3%)
CIE-LABlab(24.45, 31.34, -54.42)
CIE-LCHlch(24.45, 62.80, 299.93°)
OKLaboklab(36.15% 0.0064 -0.1573)
OKLCHoklch(36.15% 0.157 272.3)
XYZxyz(6.6186, 4.2412, 26.0558)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D8E #8E8726
analogous
#26618E #262D8E #53268E
triadic
#262D8E #8E262D #2D8E26
tetradic
#262D8E #8E2661 #8E8726 #268E53
square
#262D8E #8E2661 #8E8726 #268E53
split-complementary
#262D8E #8E5326 #618E26
monochromatic
#0C0E2D #191E5E #262D8E #333CBE #5B63D3

Accessibility & contrast

On white

11.36
#262D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#262D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D8E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D8E#FFFFFF#000000##FFFFFF
##262D8E1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262d8e;
/* rgb */ color: rgb(38, 45, 142);
/* oklch */ color: oklch(36.2% 0.157 272.3);
Tailwind
colors: {
  custom: {
    50: '#7066b0',
    500: '#262d8e',
    950: '#000000',
  },
}
SCSS
$custom: #262d8e;
$custom-light: #7066b0;
$custom-dark: #000000;
JSON
{
  "hex": "#262d8e",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 235.962,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36153,
    "c": 0.15744,
    "h": 272.3
  },
  "luminance": 0.04242
}

Semantic roles & 50–950 ramp

primary
#262D8E
secondary
#B8B258
accent
#D747E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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