#262E7D#262E7D

#262E7D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.132 H 272.9°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#262E7D
RGBrgb(38, 46, 125)
HSLhsl(234, 53%, 32%)
HSVhsv(234, 70%, 49%)
CMYKcmyk(69.6%, 63.2%, 0%, 51%)
CIE-LABlab(23.16, 24.35, -45.90)
CIE-LCHlch(23.16, 51.95, 297.94°)
OKLaboklab(34.72% 0.0068 -0.1323)
OKLCHoklch(34.72% 0.132 272.9)
XYZxyz(5.4768, 3.8462, 19.8518)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E7D #7D7526
analogous
#265A7D #262E7D #4A267D
triadic
#262E7D #7D262E #2E7D26
tetradic
#262E7D #7D265A #7D7526 #267D4A
square
#262E7D #7D265A #7D7526 #267D4A
split-complementary
#262E7D #7D4A26 #5A7D26
monochromatic
#090B1F #181D4E #262E7D #343FAC #535ECB

Accessibility & contrast

On white

11.87
#262E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#262E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E7D
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E7D#FFFFFF#000000##FFFFFF
##262E7D1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262e7d;
/* rgb */ color: rgb(38, 46, 125);
/* oklch */ color: oklch(34.7% 0.132 272.9);
Tailwind
colors: {
  custom: {
    50: '#6c66a3',
    500: '#262e7d',
    950: '#000000',
  },
}
SCSS
$custom: #262e7d;
$custom-light: #6c66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#262e7d",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 234.483,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34724,
    "c": 0.13248,
    "h": 272.9
  },
  "luminance": 0.03847
}

Semantic roles & 50–950 ramp

primary
#262E7D
secondary
#AFA650
accent
#CF4BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #262E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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