#262AA8#262AA8

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

Color values

HEX#262AA8
RGBrgb(38, 42, 168)
HSLhsl(238, 63%, 40%)
HSVhsv(238, 77%, 66%)
CMYKcmyk(77.4%, 75%, 0%, 34.1%)
CIE-LABlab(26.43, 42.38, -67.06)
CIE-LCHlch(26.43, 79.33, 302.29°)
OKLaboklab(38.37% 0.0045 -0.1942)
OKLCHoklch(38.37% 0.194 271.3)
XYZxyz(8.6928, 4.8942, 37.5247)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262AA8 #A8A426
analogous
#266BA8 #262AA8 #6326A8
triadic
#262AA8 #A8262A #2AA826
tetradic
#262AA8 #A8266B #A8A426 #26A863
square
#262AA8 #A8266B #A8A426 #26A863
split-complementary
#262AA8 #A86326 #6BA826
monochromatic
#0F1144 #1B1E76 #262AA8 #393ED2 #6B6EDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##262AA8#FFFFFF#000000##FFFFFF
##262AA81.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)
#0045AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #262aa8;
/* rgb */ color: rgb(38, 42, 168);
/* oklch */ color: oklch(38.4% 0.194 271.3);
Tailwind
colors: {
  custom: {
    50: '#7765c3',
    500: '#262aa8',
    950: '#000000',
  },
}
SCSS
$custom: #262aa8;
$custom-light: #7765c3;
$custom-dark: #000000;
JSON
{
  "hex": "#262aa8",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 238.154,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38369,
    "c": 0.19422,
    "h": 271.3
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#262AA8
secondary
#C4C166
accent
#E142E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #262AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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