#262A84#262A84

#262A84 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.147 H 273.7°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#262A84
RGBrgb(38, 42, 132)
HSLhsl(237, 55%, 33%)
HSVhsv(237, 71%, 52%)
CMYKcmyk(71.2%, 68.2%, 0%, 48.2%)
CIE-LABlab(22.77, 29.63, -50.94)
CIE-LCHlch(22.77, 58.93, 300.19°)
OKLaboklab(34.64% 0.0095 -0.1471)
OKLCHoklch(34.64% 0.147 273.7)
XYZxyz(5.7908, 3.7334, 22.2408)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A84 #848026
analogous
#265984 #262A84 #512684
triadic
#262A84 #84262A #2A8426
tetradic
#262A84 #842659 #848026 #268451
square
#262A84 #842659 #848026 #268451
split-complementary
#262A84 #845126 #598426
monochromatic
#0B0C25 #181B54 #262A84 #3439B4 #565BCE

Accessibility & contrast

On white

12.02
#262A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#262A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A84
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A84#FFFFFF#000000##FFFFFF
##262A841.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262a84;
/* rgb */ color: rgb(38, 42, 132);
/* oklch */ color: oklch(34.6% 0.147 273.7);
Tailwind
colors: {
  custom: {
    50: '#6e64a9',
    500: '#262a84',
    950: '#000000',
  },
}
SCSS
$custom: #262a84;
$custom-light: #6e64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#262a84",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 237.447,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34637,
    "c": 0.14744,
    "h": 273.7
  },
  "luminance": 0.03734
}

Semantic roles & 50–950 ramp

primary
#262A84
secondary
#B3AF53
accent
#D849DF
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #262A84

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

Preview Lab → · Contrast checker → · Palette generator →

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