#262E8E#262E8E

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

Color values

HEX#262E8E
RGBrgb(38, 46, 142)
HSLhsl(235, 58%, 35%)
HSVhsv(235, 73%, 56%)
CMYKcmyk(73.2%, 67.6%, 0%, 44.3%)
CIE-LABlab(24.70, 30.69, -54.02)
CIE-LCHlch(24.70, 62.13, 299.60°)
OKLaboklab(36.33% 0.0058 -0.1561)
OKLCHoklch(36.33% 0.156 272.1)
XYZxyz(6.6572, 4.3184, 26.0686)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E8E #8E8626
analogous
#26628E #262E8E #52268E
triadic
#262E8E #8E262E #2E8E26
tetradic
#262E8E #8E2662 #8E8626 #268E52
square
#262E8E #8E2662 #8E8626 #268E52
split-complementary
#262E8E #8E5226 #628E26
monochromatic
#0C0F2D #191E5E #262E8E #333EBE #5B64D3

Accessibility & contrast

On white

11.27
#262E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262E8E
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E8E#FFFFFF#000000##FFFFFF
##262E8E1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262e8e;
/* rgb */ color: rgb(38, 46, 142);
/* oklch */ color: oklch(36.3% 0.156 272.1);
Tailwind
colors: {
  custom: {
    50: '#7067b0',
    500: '#262e8e',
    950: '#000000',
  },
}
SCSS
$custom: #262e8e;
$custom-light: #7067b0;
$custom-dark: #000000;
JSON
{
  "hex": "#262e8e",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 235.385,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3633,
    "c": 0.15624,
    "h": 272.1
  },
  "luminance": 0.04319
}

Semantic roles & 50–950 ramp

primary
#262E8E
secondary
#B8B158
accent
#D547E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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