#262BA0#262BA0

#262BA0 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.183 H 271.7°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#262BA0
RGBrgb(38, 43, 160)
HSLhsl(238, 62%, 39%)
HSVhsv(238, 76%, 63%)
CMYKcmyk(76.3%, 73.1%, 0%, 37.3%)
CIE-LABlab(25.79, 39.03, -63.27)
CIE-LCHlch(25.79, 74.34, 301.67°)
OKLaboklab(37.66% 0.0053 -0.1831)
OKLCHoklch(37.66% 0.183 271.7)
XYZxyz(8.0062, 4.6770, 33.7317)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262BA0 #A09B26
analogous
#2668A0 #262BA0 #5E26A0
triadic
#262BA0 #A0262B #2BA026
tetradic
#262BA0 #A02668 #A09B26 #26A05E
square
#262BA0 #A02668 #A09B26 #26A05E
split-complementary
#262BA0 #A05E26 #68A026
monochromatic
#0F103D #1A1E6F #262BA0 #343BCF #666BDB

Accessibility & contrast

On white

10.85
#262BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262BA0
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262BA0#FFFFFF#000000##FFFFFF
##262BA01.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #262ba0;
/* rgb */ color: rgb(38, 43, 160);
/* oklch */ color: oklch(37.7% 0.183 271.7);
Tailwind
colors: {
  custom: {
    50: '#7565bd',
    500: '#262ba0',
    950: '#000000',
  },
}
SCSS
$custom: #262ba0;
$custom-light: #7565bd;
$custom-dark: #000000;
JSON
{
  "hex": "#262ba0",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 237.541,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37663,
    "c": 0.18321,
    "h": 271.7
  },
  "luminance": 0.04678
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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