#262CA8#262CA8

#262CA8 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.192 H 271.1°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#262CA8
RGBrgb(38, 44, 168)
HSLhsl(237, 63%, 40%)
HSVhsv(237, 77%, 66%)
CMYKcmyk(77.4%, 73.8%, 0%, 34.1%)
CIE-LABlab(26.85, 41.21, -66.38)
CIE-LCHlch(26.85, 78.13, 301.84°)
OKLaboklab(38.67% 0.0036 -0.1922)
OKLCHoklch(38.67% 0.192 271.1)
XYZxyz(8.7655, 5.0396, 37.5490)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262CA8 #A8A226
analogous
#266DA8 #262CA8 #6126A8
triadic
#262CA8 #A8262C #2CA826
tetradic
#262CA8 #A8266D #A8A226 #26A861
square
#262CA8 #A8266D #A8A226 #26A861
split-complementary
#262CA8 #A86126 #6DA826
monochromatic
#0F1244 #1B1F76 #262CA8 #3940D2 #6B70DE

Accessibility & contrast

On white

10.46
#262CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#262CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262CA8
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262CA8#FFFFFF#000000##FFFFFF
##262CA81.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #262ca8;
/* rgb */ color: rgb(38, 44, 168);
/* oklch */ color: oklch(38.7% 0.192 271.1);
Tailwind
colors: {
  custom: {
    50: '#7766c3',
    500: '#262ca8',
    950: '#000000',
  },
}
SCSS
$custom: #262ca8;
$custom-light: #7766c3;
$custom-dark: #000000;
JSON
{
  "hex": "#262ca8",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 237.231,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38666,
    "c": 0.19221,
    "h": 271.1
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

primary
#262CA8
secondary
#C4BF66
accent
#DF42E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #262CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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