#262E83#262E83

#262E83 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.141 H 272.7°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#262E83
RGBrgb(38, 46, 131)
HSLhsl(235, 55%, 33%)
HSVhsv(235, 71%, 51%)
CMYKcmyk(71%, 64.9%, 0%, 48.6%)
CIE-LABlab(23.69, 26.60, -48.81)
CIE-LCHlch(23.69, 55.59, 298.59°)
OKLaboklab(35.28% 0.0065 -0.1409)
OKLCHoklch(35.28% 0.141 272.7)
XYZxyz(5.8717, 4.0042, 21.9318)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E83 #837B26
analogous
#265C83 #262E83 #4C2683
triadic
#262E83 #83262E #2E8326
tetradic
#262E83 #83265C #837B26 #26834C
square
#262E83 #83265C #837B26 #26834C
split-complementary
#262E83 #834C26 #5C8326
monochromatic
#0A0D24 #181D54 #262E83 #343FB2 #5660CE

Accessibility & contrast

On white

11.66
#262E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#262E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E83
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E83#FFFFFF#000000##FFFFFF
##262E831.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262e83;
/* rgb */ color: rgb(38, 46, 131);
/* oklch */ color: oklch(35.3% 0.141 272.7);
Tailwind
colors: {
  custom: {
    50: '#6e66a8',
    500: '#262e83',
    950: '#000000',
  },
}
SCSS
$custom: #262e83;
$custom-light: #6e66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#262e83",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 234.839,
    "s": 55.03,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35278,
    "c": 0.14103,
    "h": 272.7
  },
  "luminance": 0.04005
}

Semantic roles & 50–950 ramp

primary
#262E83
secondary
#B2AA52
accent
#D249DE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262E83

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

Preview Lab → · Contrast checker → · Palette generator →

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