#262CA3#262CA3

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

Color values

HEX#262CA3
RGBrgb(38, 44, 163)
HSLhsl(237, 62%, 39%)
HSVhsv(237, 77%, 64%)
CMYKcmyk(76.7%, 73%, 0%, 36.1%)
CIE-LABlab(26.32, 39.48, -64.22)
CIE-LCHlch(26.32, 75.38, 301.58°)
OKLaboklab(38.14% 0.0044 -0.1859)
OKLCHoklch(38.14% 0.186 271.3)
XYZxyz(8.3086, 4.8569, 35.1428)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262CA3 #A39D26
analogous
#266BA3 #262CA3 #5F26A3
triadic
#262CA3 #A3262C #2CA326
tetradic
#262CA3 #A3266B #A39D26 #26A35F
square
#262CA3 #A3266B #A39D26 #26A35F
split-complementary
#262CA3 #A35F26 #6BA326
monochromatic
#0F1140 #1A1F71 #262CA3 #363DD0 #686DDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##262CA3#FFFFFF#000000##FFFFFF
##262CA31.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)
#0044A7
Deuteranopia (green-blind)
#0038A1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262ca3;
/* rgb */ color: rgb(38, 44, 163);
/* oklch */ color: oklch(38.1% 0.186 271.3);
Tailwind
colors: {
  custom: {
    50: '#7666bf',
    500: '#262ca3',
    950: '#000000',
  },
}
SCSS
$custom: #262ca3;
$custom-light: #7666bf;
$custom-dark: #000000;
JSON
{
  "hex": "#262ca3",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 237.12,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38135,
    "c": 0.18595,
    "h": 271.3
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

primary
#262CA3
secondary
#C2BD63
accent
#DD43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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