#262E7B#262E7B

#262E7B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.130 H 273.0°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#262E7B
RGBrgb(38, 46, 123)
HSLhsl(234, 53%, 32%)
HSVhsv(234, 69%, 48%)
CMYKcmyk(69.1%, 62.6%, 0%, 51.8%)
CIE-LABlab(22.98, 23.59, -44.91)
CIE-LCHlch(22.98, 50.73, 297.71°)
OKLaboklab(34.54% 0.0068 -0.1294)
OKLCHoklch(34.54% 0.13 273)
XYZxyz(5.3503, 3.7956, 19.1857)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E7B #7B7326
analogous
#26597B #262E7B #49267B
triadic
#262E7B #7B262E #2E7B26
tetradic
#262E7B #7B2659 #7B7326 #267B49
square
#262E7B #7B2659 #7B7326 #267B49
split-complementary
#262E7B #7B4926 #597B26
monochromatic
#090B1D #181D4C #262E7B #343FAA #525DCA

Accessibility & contrast

On white

11.94
#262E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#262E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E7B
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E7B#FFFFFF#000000##FFFFFF
##262E7B1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262e7b;
/* rgb */ color: rgb(38, 46, 123);
/* oklch */ color: oklch(34.5% 0.130 273.0);
Tailwind
colors: {
  custom: {
    50: '#6c66a2',
    500: '#262e7b',
    950: '#000000',
  },
}
SCSS
$custom: #262e7b;
$custom-light: #6c66a2;
$custom-dark: #000000;
JSON
{
  "hex": "#262e7b",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 234.353,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34543,
    "c": 0.1296,
    "h": 273
  },
  "luminance": 0.03796
}

Semantic roles & 50–950 ramp

primary
#262E7B
secondary
#ADA450
accent
#CF4CDC
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #262E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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