#262BB1#262BB1

#262BB1 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.204 H 270.7°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#262BB1
RGBrgb(38, 43, 177)
HSLhsl(238, 65%, 42%)
HSVhsv(238, 79%, 69%)
CMYKcmyk(78.5%, 75.7%, 0%, 30.6%)
CIE-LABlab(27.61, 44.85, -70.52)
CIE-LCHlch(27.61, 83.58, 302.46°)
OKLaboklab(39.49% 0.0026 -0.2042)
OKLCHoklch(39.49% 0.204 270.7)
XYZxyz(9.5963, 5.3131, 42.1062)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262BB1 #B1AC26
analogous
#2670B1 #262BB1 #6726B1
triadic
#262BB1 #B1262B #2BB126
tetradic
#262BB1 #B12670 #B1AC26 #26B167
square
#262BB1 #B12670 #B1AC26 #26B167
split-complementary
#262BB1 #B16726 #70B126
monochromatic
#10134C #1B1F7F #262BB1 #3F44D6 #7175E0

Accessibility & contrast

On white

10.18
#262BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#262BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262BB1
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262BB1#FFFFFF#000000##FFFFFF
##262BB11.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#003AAF
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #262bb1;
/* rgb */ color: rgb(38, 43, 177);
/* oklch */ color: oklch(39.5% 0.204 270.7);
Tailwind
colors: {
  custom: {
    50: '#7966ca',
    500: '#262bb1',
    950: '#000000',
  },
}
SCSS
$custom: #262bb1;
$custom-light: #7966ca;
$custom-dark: #000000;
JSON
{
  "hex": "#262bb1",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 237.842,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39493,
    "c": 0.20425,
    "h": 270.7
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#262BB1
secondary
#C7C46B
accent
#E240E8
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #262BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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