#262BAD#262BAD

#262BAD is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.199 H 270.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#262BAD
RGBrgb(38, 43, 173)
HSLhsl(238, 64%, 41%)
HSVhsv(238, 78%, 68%)
CMYKcmyk(78%, 75.1%, 0%, 32.2%)
CIE-LABlab(27.17, 43.51, -68.85)
CIE-LCHlch(27.17, 81.44, 302.29°)
OKLaboklab(39.06% 0.0032 -0.1993)
OKLCHoklch(39.06% 0.199 270.9)
XYZxyz(9.2035, 5.1559, 40.0372)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262BAD #ADA826
analogous
#266FAD #262BAD #6526AD
triadic
#262BAD #AD262B #2BAD26
tetradic
#262BAD #AD266F #ADA826 #26AD65
square
#262BAD #AD266F #ADA826 #26AD65
split-complementary
#262BAD #AD6526 #6FAD26
monochromatic
#101249 #1B1F7B #262BAD #3C42D4 #6E72DF

Accessibility & contrast

On white

10.34
#262BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#262BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262BAD
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262BAD#FFFFFF#000000##FFFFFF
##262BAD1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B1
Deuteranopia (green-blind)
#0039AB
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #262bad;
/* rgb */ color: rgb(38, 43, 173);
/* oklch */ color: oklch(39.1% 0.199 270.9);
Tailwind
colors: {
  custom: {
    50: '#7866c7',
    500: '#262bad',
    950: '#000000',
  },
}
SCSS
$custom: #262bad;
$custom-light: #7866c7;
$custom-dark: #000000;
JSON
{
  "hex": "#262bad",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 237.778,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39057,
    "c": 0.19938,
    "h": 270.9
  },
  "luminance": 0.05157
}

Semantic roles & 50–950 ramp

primary
#262BAD
secondary
#C6C269
accent
#E141E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #262BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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