#262CB1#262CB1

#262CB1 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.6% C 0.203 H 270.6°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#262CB1
RGBrgb(38, 44, 177)
HSLhsl(237, 65%, 42%)
HSVhsv(237, 79%, 69%)
CMYKcmyk(78.5%, 75.1%, 0%, 30.6%)
CIE-LABlab(27.81, 44.29, -70.19)
CIE-LCHlch(27.81, 83.00, 302.25°)
OKLaboklab(39.64% 0.0022 -0.2033)
OKLCHoklch(39.64% 0.203 270.6)
XYZxyz(9.6331, 5.3867, 42.1185)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262CB1 #B1AB26
analogous
#2672B1 #262CB1 #6626B1
triadic
#262CB1 #B1262C #2CB126
tetradic
#262CB1 #B12672 #B1AB26 #26B166
square
#262CB1 #B12672 #B1AB26 #26B166
split-complementary
#262CB1 #B16626 #72B126
monochromatic
#10134C #1B1F7F #262CB1 #3F45D6 #7176E0

Accessibility & contrast

On white

10.11
#262CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#262CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262CB1
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262CB1#FFFFFF#000000##FFFFFF
##262CB11.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262cb1;
/* rgb */ color: rgb(38, 44, 177);
/* oklch */ color: oklch(39.6% 0.203 270.6);
Tailwind
colors: {
  custom: {
    50: '#7967ca',
    500: '#262cb1',
    950: '#000000',
  },
}
SCSS
$custom: #262cb1;
$custom-light: #7967ca;
$custom-dark: #000000;
JSON
{
  "hex": "#262cb1",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 237.41,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39635,
    "c": 0.20329,
    "h": 270.6
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#262CB1
secondary
#C7C36B
accent
#E040E8
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #262CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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