#262BA7#262BA7

#262BA7 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.192 H 271.3°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#262BA7
RGBrgb(38, 43, 167)
HSLhsl(238, 63%, 40%)
HSVhsv(238, 77%, 65%)
CMYKcmyk(77.2%, 74.3%, 0%, 34.5%)
CIE-LABlab(26.53, 41.46, -66.30)
CIE-LCHlch(26.53, 78.19, 302.02°)
OKLaboklab(38.41% 0.0042 -0.1919)
OKLCHoklch(38.41% 0.192 271.3)
XYZxyz(8.6359, 4.9289, 37.0480)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262BA7 #A7A226
analogous
#266CA7 #262BA7 #6126A7
triadic
#262BA7 #A7262B #2BA726
tetradic
#262BA7 #A7266C #A7A226 #26A761
square
#262BA7 #A7266C #A7A226 #26A761
split-complementary
#262BA7 #A76126 #6CA726
monochromatic
#0F1143 #1B1E75 #262BA7 #383ED2 #6A6FDD

Accessibility & contrast

On white

10.57
#262BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#262BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262BA7
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262BA7#FFFFFF#000000##FFFFFF
##262BA71.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #262ba7;
/* rgb */ color: rgb(38, 43, 167);
/* oklch */ color: oklch(38.4% 0.192 271.3);
Tailwind
colors: {
  custom: {
    50: '#7766c2',
    500: '#262ba7',
    950: '#000000',
  },
}
SCSS
$custom: #262ba7;
$custom-light: #7766c2;
$custom-dark: #000000;
JSON
{
  "hex": "#262ba7",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 237.674,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38409,
    "c": 0.19199,
    "h": 271.3
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

primary
#262BA7
secondary
#C3C065
accent
#E042E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #262BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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