#262E8A#262E8A

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

Color values

HEX#262E8A
RGBrgb(38, 46, 138)
HSLhsl(235, 57%, 35%)
HSVhsv(235, 72%, 54%)
CMYKcmyk(72.5%, 66.7%, 0%, 45.9%)
CIE-LABlab(24.32, 29.21, -52.15)
CIE-LCHlch(24.32, 59.77, 299.25°)
OKLaboklab(35.94% 0.0061 -0.1506)
OKLCHoklch(35.94% 0.151 272.3)
XYZxyz(6.3622, 4.2004, 24.5153)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E8A #8A8226
analogous
#26608A #262E8A #50268A
triadic
#262E8A #8A262E #2E8A26
tetradic
#262E8A #8A2660 #8A8226 #268A50
square
#262E8A #8A2660 #8A8226 #268A50
split-complementary
#262E8A #8A5026 #608A26
monochromatic
#0C0E2A #191E5A #262E8A #333EBA #5963D1

Accessibility & contrast

On white

11.41
#262E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#262E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E8A
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E8A#FFFFFF#000000##FFFFFF
##262E8A1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262e8a;
/* rgb */ color: rgb(38, 46, 138);
/* oklch */ color: oklch(35.9% 0.151 272.3);
Tailwind
colors: {
  custom: {
    50: '#6f67ad',
    500: '#262e8a',
    950: '#000000',
  },
}
SCSS
$custom: #262e8a;
$custom-light: #6f67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#262e8a",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 235.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35943,
    "c": 0.15077,
    "h": 272.3
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#262E8A
secondary
#B6AE56
accent
#D448E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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