#262BA6#262BA6

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

Color values

HEX#262BA6
RGBrgb(38, 43, 166)
HSLhsl(238, 63%, 40%)
HSVhsv(238, 77%, 65%)
CMYKcmyk(77.1%, 74.1%, 0%, 34.9%)
CIE-LABlab(26.43, 41.11, -65.87)
CIE-LCHlch(26.43, 77.64, 301.97°)
OKLaboklab(38.3% 0.0044 -0.1907)
OKLCHoklch(38.3% 0.191 271.3)
XYZxyz(8.5438, 4.8921, 36.5630)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262BA6 #A6A126
analogous
#266BA6 #262BA6 #6126A6
triadic
#262BA6 #A6262B #2BA626
tetradic
#262BA6 #A6266B #A6A126 #26A661
square
#262BA6 #A6266B #A6A126 #26A661
split-complementary
#262BA6 #A66126 #6BA626
monochromatic
#0F1142 #1B1E74 #262BA6 #383ED1 #6A6EDD

Accessibility & contrast

On white

10.61
#262BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#262BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262BA6
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262BA6#FFFFFF#000000##FFFFFF
##262BA61.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0038A4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262ba6;
/* rgb */ color: rgb(38, 43, 166);
/* oklch */ color: oklch(38.3% 0.191 271.3);
Tailwind
colors: {
  custom: {
    50: '#7766c2',
    500: '#262ba6',
    950: '#000000',
  },
}
SCSS
$custom: #262ba6;
$custom-light: #7766c2;
$custom-dark: #000000;
JSON
{
  "hex": "#262ba6",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 237.656,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.38302,
    "c": 0.19074,
    "h": 271.3
  },
  "luminance": 0.04893
}

Semantic roles & 50–950 ramp

primary
#262BA6
secondary
#C3BF65
accent
#DF42E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #262BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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