#262E8F#262E8F

#262E8F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.158 H 272.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#262E8F
RGBrgb(38, 46, 143)
HSLhsl(235, 58%, 35%)
HSVhsv(235, 73%, 56%)
CMYKcmyk(73.4%, 67.8%, 0%, 43.9%)
CIE-LABlab(24.79, 31.05, -54.49)
CIE-LCHlch(24.79, 62.71, 299.68°)
OKLaboklab(36.43% 0.0057 -0.1575)
OKLCHoklch(36.43% 0.158 272.1)
XYZxyz(6.7326, 4.3486, 26.4658)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E8F #8F8726
analogous
#26628F #262E8F #53268F
triadic
#262E8F #8F262E #2E8F26
tetradic
#262E8F #8F2662 #8F8726 #268F53
square
#262E8F #8F2662 #8F8726 #268F53
split-complementary
#262E8F #8F5326 #628F26
monochromatic
#0C0F2E #191E5F #262E8F #333EBF #5C65D4

Accessibility & contrast

On white

11.23
#262E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#262E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E8F
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E8F#FFFFFF#000000##FFFFFF
##262E8F1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262e8f;
/* rgb */ color: rgb(38, 46, 143);
/* oklch */ color: oklch(36.4% 0.158 272.1);
Tailwind
colors: {
  custom: {
    50: '#7167b1',
    500: '#262e8f',
    950: '#000000',
  },
}
SCSS
$custom: #262e8f;
$custom-light: #7167b1;
$custom-dark: #000000;
JSON
{
  "hex": "#262e8f",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 235.429,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36428,
    "c": 0.15759,
    "h": 272.1
  },
  "luminance": 0.04349
}

Semantic roles & 50–950 ramp

primary
#262E8F
secondary
#B9B158
accent
#D547E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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