#262BBD#262BBD

#262BBD is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.219 H 270.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#262BBD
RGBrgb(38, 43, 189)
HSLhsl(238, 67%, 45%)
HSVhsv(238, 80%, 74%)
CMYKcmyk(79.9%, 77.2%, 0%, 25.9%)
CIE-LABlab(28.93, 48.83, -75.46)
CIE-LCHlch(28.93, 89.88, 302.91°)
OKLaboklab(40.82% 0.0005 -0.2186)
OKLCHoklch(40.82% 0.219 270.1)
XYZxyz(10.8454, 5.8127, 48.6846)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262BBD #BDB826
analogous
#2677BD #262BBD #6C26BD
triadic
#262BBD #BD262B #2BBD26
tetradic
#262BBD #BD2677 #BDB826 #26BD6C
square
#262BBD #BD2677 #BDB826 #26BD6C
split-complementary
#262BBD #BD6C26 #77BD26
monochromatic
#121457 #1C1F8A #262BBD #464BDA #797DE4

Accessibility & contrast

On white

9.71
#262BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#262BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262BBD
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262BBD#FFFFFF#000000##FFFFFF
##262BBD1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#003CBA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #262bbd;
/* rgb */ color: rgb(38, 43, 189);
/* oklch */ color: oklch(40.8% 0.219 270.1);
Tailwind
colors: {
  custom: {
    50: '#7c67d2',
    500: '#262bbd',
    950: '#000000',
  },
}
SCSS
$custom: #262bbd;
$custom-light: #7c67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#262bbd",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 238.013,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40819,
    "c": 0.21856,
    "h": 270.1
  },
  "luminance": 0.05814
}

Semantic roles & 50–950 ramp

primary
#262BBD
secondary
#CCC973
accent
#E43EE9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #262BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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