#262DA1#262DA1

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

Color values

HEX#262DA1
RGBrgb(38, 45, 161)
HSLhsl(237, 62%, 39%)
HSVhsv(237, 76%, 63%)
CMYKcmyk(76.4%, 72%, 0%, 36.9%)
CIE-LABlab(26.34, 38.17, -62.98)
CIE-LCHlch(26.34, 73.65, 301.22°)
OKLaboklab(38.08% 0.0042 -0.1823)
OKLCHoklch(38.08% 0.182 271.3)
XYZxyz(8.1686, 4.8612, 34.2191)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262DA1 #A19A26
analogous
#266BA1 #262DA1 #5D26A1
triadic
#262DA1 #A1262D #2DA126
tetradic
#262DA1 #A1266B #A19A26 #26A15D
square
#262DA1 #A1266B #A19A26 #26A15D
split-complementary
#262DA1 #A15D26 #6BA126
monochromatic
#0F113E #1A1F6F #262DA1 #353ECF #666DDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##262DA1#FFFFFF#000000##FFFFFF
##262DA11.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)
#0044A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262da1;
/* rgb */ color: rgb(38, 45, 161);
/* oklch */ color: oklch(38.1% 0.182 271.3);
Tailwind
colors: {
  custom: {
    50: '#7567be',
    500: '#262da1',
    950: '#000000',
  },
}
SCSS
$custom: #262da1;
$custom-light: #7567be;
$custom-dark: #000000;
JSON
{
  "hex": "#262da1",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 236.585,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38082,
    "c": 0.18236,
    "h": 271.3
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

primary
#262DA1
secondary
#C1BB62
accent
#DC43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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