#262DBD#262DBD

#262DBD is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.1% C 0.217 H 270.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#262DBD
RGBrgb(38, 45, 189)
HSLhsl(237, 67%, 45%)
HSVhsv(237, 80%, 74%)
CMYKcmyk(79.9%, 76.2%, 0%, 25.9%)
CIE-LABlab(29.32, 47.74, -74.83)
CIE-LCHlch(29.32, 88.76, 302.54°)
OKLaboklab(41.09% -0.0002 -0.2167)
OKLCHoklch(41.09% 0.217 270)
XYZxyz(10.9199, 5.9617, 48.7094)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262DBD #BDB626
analogous
#2678BD #262DBD #6B26BD
triadic
#262DBD #BD262D #2DBD26
tetradic
#262DBD #BD2678 #BDB626 #26BD6B
square
#262DBD #BD2678 #BDB626 #26BD6B
split-complementary
#262DBD #BD6B26 #78BD26
monochromatic
#121557 #1C218A #262DBD #464DDA #797EE4

Accessibility & contrast

On white

9.58
#262DBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#262DBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262DBD
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262DBD#FFFFFF#000000##FFFFFF
##262DBD1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#003DBA
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #262dbd;
/* rgb */ color: rgb(38, 45, 189);
/* oklch */ color: oklch(41.1% 0.217 270.0);
Tailwind
colors: {
  custom: {
    50: '#7c68d2',
    500: '#262dbd',
    950: '#000000',
  },
}
SCSS
$custom: #262dbd;
$custom-light: #7c68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#262dbd",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 189
  },
  "hsl": {
    "h": 237.219,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41088,
    "c": 0.21675,
    "h": 270
  },
  "luminance": 0.05963
}

Semantic roles & 50–950 ramp

primary
#262DBD
secondary
#CCC873
accent
#E23EE9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #262DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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