#262A9B#262A9B

#262A9B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.178 H 272.1°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#262A9B
RGBrgb(38, 42, 155)
HSLhsl(238, 61%, 38%)
HSVhsv(238, 75%, 61%)
CMYKcmyk(75.5%, 72.9%, 0%, 39.2%)
CIE-LABlab(25.06, 37.89, -61.44)
CIE-LCHlch(25.06, 72.18, 301.66°)
OKLaboklab(36.98% 0.0066 -0.1778)
OKLCHoklch(36.98% 0.178 272.1)
XYZxyz(7.5417, 4.4338, 31.4623)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A9B #9B9726
analogous
#26649B #262A9B #5D269B
triadic
#262A9B #9B262A #2A9B26
tetradic
#262A9B #9B2664 #9B9726 #269B5D
square
#262A9B #9B2664 #9B9726 #269B5D
split-complementary
#262A9B #9B5D26 #649B26
monochromatic
#0E0F39 #1A1D6A #262A9B #3237CC #6367D9

Accessibility & contrast

On white

11.13
#262A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#262A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A9B
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A9B#FFFFFF#000000##FFFFFF
##262A9B1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262a9b;
/* rgb */ color: rgb(38, 42, 155);
/* oklch */ color: oklch(37.0% 0.178 272.1);
Tailwind
colors: {
  custom: {
    50: '#7464ba',
    500: '#262a9b',
    950: '#000000',
  },
}
SCSS
$custom: #262a9b;
$custom-light: #7464ba;
$custom-dark: #000000;
JSON
{
  "hex": "#262a9b",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 237.949,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3698,
    "c": 0.17791,
    "h": 272.1
  },
  "luminance": 0.04435
}

Semantic roles & 50–950 ramp

primary
#262A9B
secondary
#BEBB5F
accent
#DE44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #262A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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