#262FB1#262FB1

#262FB1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.1% C 0.200 H 270.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#262FB1
RGBrgb(38, 47, 177)
HSLhsl(236, 65%, 42%)
HSVhsv(236, 79%, 69%)
CMYKcmyk(78.5%, 73.4%, 0%, 30.6%)
CIE-LABlab(28.43, 42.55, -69.17)
CIE-LCHlch(28.43, 81.21, 301.60°)
OKLaboklab(40.08% 0.001 -0.2003)
OKLCHoklch(40.08% 0.2 270.3)
XYZxyz(9.7489, 5.6183, 42.1571)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262FB1 #B1A826
analogous
#2675B1 #262FB1 #6326B1
triadic
#262FB1 #B1262F #2FB126
tetradic
#262FB1 #B12675 #B1A826 #26B163
square
#262FB1 #B12675 #B1A826 #26B163
split-complementary
#262FB1 #B16326 #75B126
monochromatic
#10144C #1B227F #262FB1 #3F48D6 #7178E0

Accessibility & contrast

On white

9.89
#262FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#262FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262FB1
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262FB1#FFFFFF#000000##FFFFFF
##262FB11.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #262fb1;
/* rgb */ color: rgb(38, 47, 177);
/* oklch */ color: oklch(40.1% 0.200 270.3);
Tailwind
colors: {
  custom: {
    50: '#7969ca',
    500: '#262fb1',
    950: '#000000',
  },
}
SCSS
$custom: #262fb1;
$custom-light: #7969ca;
$custom-dark: #000000;
JSON
{
  "hex": "#262fb1",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 236.115,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40076,
    "c": 0.20032,
    "h": 270.3
  },
  "luminance": 0.05619
}

Semantic roles & 50–950 ramp

primary
#262FB1
secondary
#C7C16B
accent
#DD40E8
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #262FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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