#262FBD#262FBD

#262FBD is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.4% C 0.215 H 269.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#262FBD
RGBrgb(38, 47, 189)
HSLhsl(236, 67%, 45%)
HSVhsv(236, 80%, 74%)
CMYKcmyk(79.9%, 75.1%, 0%, 25.9%)
CIE-LABlab(29.71, 46.63, -74.18)
CIE-LCHlch(29.71, 87.62, 302.15°)
OKLaboklab(41.37% -0.0008 -0.2149)
OKLCHoklch(41.37% 0.215 269.8)
XYZxyz(10.9980, 6.1180, 48.7355)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262FBD #BDB426
analogous
#267BBD #262FBD #6926BD
triadic
#262FBD #BD262F #2FBD26
tetradic
#262FBD #BD267B #BDB426 #26BD69
square
#262FBD #BD267B #BDB426 #26BD69
split-complementary
#262FBD #BD6926 #7BBD26
monochromatic
#121657 #1C228A #262FBD #464FDA #7980E4

Accessibility & contrast

On white

9.44
#262FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#262FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262FBD
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262FBD#FFFFFF#000000##FFFFFF
##262FBD1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#003EBB
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #262fbd;
/* rgb */ color: rgb(38, 47, 189);
/* oklch */ color: oklch(41.4% 0.215 269.8);
Tailwind
colors: {
  custom: {
    50: '#7c69d2',
    500: '#262fbd',
    950: '#000000',
  },
}
SCSS
$custom: #262fbd;
$custom-light: #7c69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#262fbd",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 236.424,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41366,
    "c": 0.21489,
    "h": 269.8
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#262FBD
secondary
#CCC773
accent
#DF3EE9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #262FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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