#262D8F#262D8F

#262D8F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.159 H 272.3°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#262D8F
RGBrgb(38, 45, 143)
HSLhsl(236, 58%, 35%)
HSVhsv(236, 73%, 56%)
CMYKcmyk(73.4%, 68.5%, 0%, 43.9%)
CIE-LABlab(24.55, 31.70, -54.88)
CIE-LCHlch(24.55, 63.38, 300.01°)
OKLaboklab(36.25% 0.0063 -0.1587)
OKLCHoklch(36.25% 0.159 272.3)
XYZxyz(6.6940, 4.2713, 26.4529)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D8F #8F8826
analogous
#26618F #262D8F #53268F
triadic
#262D8F #8F262D #2D8F26
tetradic
#262D8F #8F2661 #8F8826 #268F53
square
#262D8F #8F2661 #8F8826 #268F53
split-complementary
#262D8F #8F5326 #618F26
monochromatic
#0C0F2E #191E5F #262D8F #333CBF #5C64D4

Accessibility & contrast

On white

11.32
#262D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262D8F
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D8F#FFFFFF#000000##FFFFFF
##262D8F1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262d8f;
/* rgb */ color: rgb(38, 45, 143);
/* oklch */ color: oklch(36.3% 0.159 272.3);
Tailwind
colors: {
  custom: {
    50: '#7166b1',
    500: '#262d8f',
    950: '#000000',
  },
}
SCSS
$custom: #262d8f;
$custom-light: #7166b1;
$custom-dark: #000000;
JSON
{
  "hex": "#262d8f",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 236,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36251,
    "c": 0.15879,
    "h": 272.3
  },
  "luminance": 0.04272
}

Semantic roles & 50–950 ramp

primary
#262D8F
secondary
#B9B258
accent
#D747E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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