#262A94#262A94

#262A94 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.169 H 272.6°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#262A94
RGBrgb(38, 42, 148)
HSLhsl(238, 59%, 36%)
HSVhsv(238, 74%, 58%)
CMYKcmyk(74.3%, 71.6%, 0%, 42%)
CIE-LABlab(24.34, 35.42, -58.32)
CIE-LCHlch(24.34, 68.23, 301.27°)
OKLaboklab(36.25% 0.0076 -0.1687)
OKLCHoklch(36.25% 0.169 272.6)
XYZxyz(6.9708, 4.2054, 28.4556)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A94 #949026
analogous
#266194 #262A94 #592694
triadic
#262A94 #94262A #2A9426
tetradic
#262A94 #942661 #949026 #269459
square
#262A94 #942661 #949026 #269459
split-complementary
#262A94 #945926 #619426
monochromatic
#0D0E33 #191C63 #262A94 #3338C5 #5F63D6

Accessibility & contrast

On white

11.41
#262A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#262A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A94
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A94#FFFFFF#000000##FFFFFF
##262A941.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262a94;
/* rgb */ color: rgb(38, 42, 148);
/* oklch */ color: oklch(36.2% 0.169 272.6);
Tailwind
colors: {
  custom: {
    50: '#7264b4',
    500: '#262a94',
    950: '#000000',
  },
}
SCSS
$custom: #262a94;
$custom-light: #7264b4;
$custom-dark: #000000;
JSON
{
  "hex": "#262a94",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 237.818,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36249,
    "c": 0.16887,
    "h": 272.6
  },
  "luminance": 0.04206
}

Semantic roles & 50–950 ramp

primary
#262A94
secondary
#BBB75B
accent
#DD45E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262A94

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

Preview Lab → · Contrast checker → · Palette generator →

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