#262B9B#262B9B

#262B9B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.177 H 272.0°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#262B9B
RGBrgb(38, 43, 155)
HSLhsl(237, 61%, 38%)
HSVhsv(237, 75%, 61%)
CMYKcmyk(75.5%, 72.3%, 0%, 39.2%)
CIE-LABlab(25.28, 37.28, -61.07)
CIE-LCHlch(25.28, 71.55, 301.40°)
OKLaboklab(37.14% 0.006 -0.1767)
OKLCHoklch(37.14% 0.177 272)
XYZxyz(7.5776, 4.5056, 31.4743)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B9B #9B9626
analogous
#26659B #262B9B #5B269B
triadic
#262B9B #9B262B #2B9B26
tetradic
#262B9B #9B2665 #9B9626 #269B5B
square
#262B9B #9B2665 #9B9626 #269B5B
split-complementary
#262B9B #9B5B26 #659B26
monochromatic
#0E1039 #1A1D6A #262B9B #3239CC #6368D9

Accessibility & contrast

On white

11.05
#262B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#262B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B9B
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B9B#FFFFFF#000000##FFFFFF
##262B9B1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262b9b;
/* rgb */ color: rgb(38, 43, 155);
/* oklch */ color: oklch(37.1% 0.177 272.0);
Tailwind
colors: {
  custom: {
    50: '#7465ba',
    500: '#262b9b',
    950: '#000000',
  },
}
SCSS
$custom: #262b9b;
$custom-light: #7465ba;
$custom-dark: #000000;
JSON
{
  "hex": "#262b9b",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 237.436,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37138,
    "c": 0.17683,
    "h": 272
  },
  "luminance": 0.04506
}

Semantic roles & 50–950 ramp

primary
#262B9B
secondary
#BEBA5F
accent
#DD44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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