#262E7F#262E7F

#262E7F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.135 H 272.8°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#262E7F
RGBrgb(38, 46, 127)
HSLhsl(235, 54%, 32%)
HSVhsv(235, 70%, 50%)
CMYKcmyk(70.1%, 63.8%, 0%, 50.2%)
CIE-LABlab(23.33, 25.10, -46.88)
CIE-LCHlch(23.33, 53.17, 298.17°)
OKLaboklab(34.91% 0.0067 -0.1352)
OKLCHoklch(34.91% 0.135 272.8)
XYZxyz(5.6058, 3.8978, 20.5315)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E7F #7F7726
analogous
#265A7F #262E7F #4B267F
triadic
#262E7F #7F262E #2E7F26
tetradic
#262E7F #7F265A #7F7726 #267F4B
square
#262E7F #7F265A #7F7726 #267F4B
split-complementary
#262E7F #7F4B26 #5A7F26
monochromatic
#0A0C21 #181D50 #262E7F #343FAE #545ECC

Accessibility & contrast

On white

11.80
#262E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#262E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E7F
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E7F#FFFFFF#000000##FFFFFF
##262E7F1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262e7f;
/* rgb */ color: rgb(38, 46, 127);
/* oklch */ color: oklch(34.9% 0.135 272.8);
Tailwind
colors: {
  custom: {
    50: '#6d66a5',
    500: '#262e7f',
    950: '#000000',
  },
}
SCSS
$custom: #262e7f;
$custom-light: #6d66a5;
$custom-dark: #000000;
JSON
{
  "hex": "#262e7f",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 234.607,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34907,
    "c": 0.13536,
    "h": 272.8
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#262E7F
secondary
#B0A851
accent
#D04ADD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #262E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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