#262BA5#262BA5

#262BA5 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.189 H 271.4°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#262BA5
RGBrgb(38, 43, 165)
HSLhsl(238, 63%, 40%)
HSVhsv(238, 77%, 65%)
CMYKcmyk(77%, 73.9%, 0%, 35.3%)
CIE-LABlab(26.32, 40.77, -65.44)
CIE-LCHlch(26.32, 77.10, 301.92°)
OKLaboklab(38.2% 0.0045 -0.1894)
OKLCHoklch(38.2% 0.189 271.4)
XYZxyz(8.4524, 4.8555, 36.0818)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262BA5 #A5A026
analogous
#266AA5 #262BA5 #6126A5
triadic
#262BA5 #A5262B #2BA526
tetradic
#262BA5 #A5266A #A5A026 #26A561
square
#262BA5 #A5266A #A5A026 #26A561
split-complementary
#262BA5 #A56126 #6AA526
monochromatic
#0F1142 #1B1E73 #262BA5 #373DD1 #696EDC

Accessibility & contrast

On white

10.65
#262BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#262BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262BA5
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262BA5#FFFFFF#000000##FFFFFF
##262BA51.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262ba5;
/* rgb */ color: rgb(38, 43, 165);
/* oklch */ color: oklch(38.2% 0.189 271.4);
Tailwind
colors: {
  custom: {
    50: '#7666c1',
    500: '#262ba5',
    950: '#000000',
  },
}
SCSS
$custom: #262ba5;
$custom-light: #7666c1;
$custom-dark: #000000;
JSON
{
  "hex": "#262ba5",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 237.638,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38195,
    "c": 0.18949,
    "h": 271.4
  },
  "luminance": 0.04856
}

Semantic roles & 50–950 ramp

primary
#262BA5
secondary
#C3BF64
accent
#DF42E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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