#262E8D#262E8D

#262E8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.155 H 272.2°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#262E8D
RGBrgb(38, 46, 141)
HSLhsl(235, 58%, 35%)
HSVhsv(235, 73%, 55%)
CMYKcmyk(73%, 67.4%, 0%, 44.7%)
CIE-LABlab(24.60, 30.32, -53.56)
CIE-LCHlch(24.60, 61.54, 299.51°)
OKLaboklab(36.23% 0.0059 -0.1548)
OKLCHoklch(36.23% 0.155 272.2)
XYZxyz(6.5824, 4.2885, 25.6750)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E8D #8D8526
analogous
#26618D #262E8D #52268D
triadic
#262E8D #8D262E #2E8D26
tetradic
#262E8D #8D2661 #8D8526 #268D52
square
#262E8D #8D2661 #8D8526 #268D52
split-complementary
#262E8D #8D5226 #618D26
monochromatic
#0C0F2D #191E5D #262E8D #333EBD #5B64D3

Accessibility & contrast

On white

11.30
#262E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#262E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E8D
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E8D#FFFFFF#000000##FFFFFF
##262E8D1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262e8d;
/* rgb */ color: rgb(38, 46, 141);
/* oklch */ color: oklch(36.2% 0.155 272.2);
Tailwind
colors: {
  custom: {
    50: '#7067af',
    500: '#262e8d',
    950: '#000000',
  },
}
SCSS
$custom: #262e8d;
$custom-light: #7067af;
$custom-dark: #000000;
JSON
{
  "hex": "#262e8d",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 235.34,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36233,
    "c": 0.15488,
    "h": 272.2
  },
  "luminance": 0.04289
}

Semantic roles & 50–950 ramp

primary
#262E8D
secondary
#B8B057
accent
#D547E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #262E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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