#262F8D#262F8D

#262F8D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.154 H 271.9°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#262F8D
RGBrgb(38, 47, 141)
HSLhsl(235, 58%, 35%)
HSVhsv(235, 73%, 55%)
CMYKcmyk(73%, 66.7%, 0%, 44.7%)
CIE-LABlab(24.85, 29.66, -53.15)
CIE-LCHlch(24.85, 60.86, 299.16°)
OKLaboklab(36.41% 0.0052 -0.1536)
OKLCHoklch(36.41% 0.154 271.9)
XYZxyz(6.6219, 4.3675, 25.6882)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F8D #8D8426
analogous
#26638D #262F8D #50268D
triadic
#262F8D #8D262F #2F8D26
tetradic
#262F8D #8D2663 #8D8426 #268D50
square
#262F8D #8D2663 #8D8426 #268D50
split-complementary
#262F8D #8D5026 #638D26
monochromatic
#0C0F2D #191F5D #262F8D #333FBD #5B65D3

Accessibility & contrast

On white

11.21
#262F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#262F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F8D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F8D#FFFFFF#000000##FFFFFF
##262F8D1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262f8d;
/* rgb */ color: rgb(38, 47, 141);
/* oklch */ color: oklch(36.4% 0.154 271.9);
Tailwind
colors: {
  custom: {
    50: '#7067af',
    500: '#262f8d',
    950: '#000000',
  },
}
SCSS
$custom: #262f8d;
$custom-light: #7067af;
$custom-dark: #000000;
JSON
{
  "hex": "#262f8d",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 234.757,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36414,
    "c": 0.15366,
    "h": 271.9
  },
  "luminance": 0.04368
}

Semantic roles & 50–950 ramp

primary
#262F8D
secondary
#B8AF57
accent
#D347E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #262F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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