#262BA1#262BA1

#262BA1 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.184 H 271.6°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#262BA1
RGBrgb(38, 43, 161)
HSLhsl(238, 62%, 39%)
HSVhsv(238, 76%, 63%)
CMYKcmyk(76.4%, 73.3%, 0%, 36.9%)
CIE-LABlab(25.90, 39.38, -63.71)
CIE-LCHlch(25.90, 74.89, 301.72°)
OKLaboklab(37.77% 0.0052 -0.1844)
OKLCHoklch(37.77% 0.184 271.6)
XYZxyz(8.0941, 4.7122, 34.1943)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262BA1 #A19C26
analogous
#2669A1 #262BA1 #5F26A1
triadic
#262BA1 #A1262B #2BA126
tetradic
#262BA1 #A12669 #A19C26 #26A15F
square
#262BA1 #A12669 #A19C26 #26A15F
split-complementary
#262BA1 #A15F26 #69A126
monochromatic
#0F113E #1A1E6F #262BA1 #353BCF #666BDB

Accessibility & contrast

On white

10.81
#262BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#262BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262BA1
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262BA1#FFFFFF#000000##FFFFFF
##262BA11.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #262ba1;
/* rgb */ color: rgb(38, 43, 161);
/* oklch */ color: oklch(37.8% 0.184 271.6);
Tailwind
colors: {
  custom: {
    50: '#7565be',
    500: '#262ba1',
    950: '#000000',
  },
}
SCSS
$custom: #262ba1;
$custom-light: #7565be;
$custom-dark: #000000;
JSON
{
  "hex": "#262ba1",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 237.561,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37769,
    "c": 0.18447,
    "h": 271.6
  },
  "luminance": 0.04713
}

Semantic roles & 50–950 ramp

primary
#262BA1
secondary
#C1BD62
accent
#DE43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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