#262CA0#262CA0

#262CA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.182 H 271.5°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#262CA0
RGBrgb(38, 44, 160)
HSLhsl(237, 62%, 39%)
HSVhsv(237, 76%, 63%)
CMYKcmyk(76.3%, 72.5%, 0%, 37.3%)
CIE-LABlab(26.01, 38.43, -62.91)
CIE-LCHlch(26.01, 73.72, 301.42°)
OKLaboklab(37.82% 0.0048 -0.1821)
OKLCHoklch(37.82% 0.182 271.5)
XYZxyz(8.0430, 4.7506, 33.7440)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262CA0 #A09A26
analogous
#2669A0 #262CA0 #5D26A0
triadic
#262CA0 #A0262C #2CA026
tetradic
#262CA0 #A02669 #A09A26 #26A05D
square
#262CA0 #A02669 #A09A26 #26A05D
split-complementary
#262CA0 #A05D26 #69A026
monochromatic
#0F113D #1A1E6F #262CA0 #343CCF #666CDB

Accessibility & contrast

On white

10.77
#262CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#262CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262CA0
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262CA0#FFFFFF#000000##FFFFFF
##262CA01.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262ca0;
/* rgb */ color: rgb(38, 44, 160);
/* oklch */ color: oklch(37.8% 0.182 271.5);
Tailwind
colors: {
  custom: {
    50: '#7566bd',
    500: '#262ca0',
    950: '#000000',
  },
}
SCSS
$custom: #262ca0;
$custom-light: #7566bd;
$custom-dark: #000000;
JSON
{
  "hex": "#262ca0",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 237.049,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37819,
    "c": 0.18215,
    "h": 271.5
  },
  "luminance": 0.04751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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