#262A99#262A99

#262A99 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.175 H 272.2°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#262A99
RGBrgb(38, 42, 153)
HSLhsl(238, 60%, 37%)
HSVhsv(238, 75%, 60%)
CMYKcmyk(75.2%, 72.5%, 0%, 40%)
CIE-LABlab(24.85, 37.19, -60.55)
CIE-LCHlch(24.85, 71.06, 301.55°)
OKLaboklab(36.77% 0.0069 -0.1752)
OKLCHoklch(36.77% 0.175 272.2)
XYZxyz(7.3751, 4.3671, 30.5851)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A99 #999526
analogous
#266499 #262A99 #5B2699
triadic
#262A99 #99262A #2A9926
tetradic
#262A99 #992664 #999526 #26995B
square
#262A99 #992664 #999526 #26995B
split-complementary
#262A99 #995B26 #649926
monochromatic
#0E0F37 #1A1D68 #262A99 #3237CA #6266D8

Accessibility & contrast

On white

11.21
#262A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262A99
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A99#FFFFFF#000000##FFFFFF
##262A991.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262a99;
/* rgb */ color: rgb(38, 42, 153);
/* oklch */ color: oklch(36.8% 0.175 272.2);
Tailwind
colors: {
  custom: {
    50: '#7364b8',
    500: '#262a99',
    950: '#000000',
  },
}
SCSS
$custom: #262a99;
$custom-light: #7364b8;
$custom-dark: #000000;
JSON
{
  "hex": "#262a99",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 237.913,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3677,
    "c": 0.17534,
    "h": 272.2
  },
  "luminance": 0.04368
}

Semantic roles & 50–950 ramp

primary
#262A99
secondary
#BDBA5E
accent
#DE44E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262A99

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

Preview Lab → · Contrast checker → · Palette generator →

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