#262FB0#262FB0

#262FB0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.199 H 270.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#262FB0
RGBrgb(38, 47, 176)
HSLhsl(236, 64%, 42%)
HSVhsv(236, 78%, 69%)
CMYKcmyk(78.4%, 73.3%, 0%, 31%)
CIE-LABlab(28.32, 42.20, -68.74)
CIE-LCHlch(28.32, 80.67, 301.55°)
OKLaboklab(39.97% 0.0011 -0.1991)
OKLCHoklch(39.97% 0.199 270.3)
XYZxyz(9.6496, 5.5786, 41.6341)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262FB0 #B0A726
analogous
#2674B0 #262FB0 #6226B0
triadic
#262FB0 #B0262F #2FB026
tetradic
#262FB0 #B02674 #B0A726 #26B062
square
#262FB0 #B02674 #B0A726 #26B062
split-complementary
#262FB0 #B06226 #74B026
monochromatic
#10144B #1B227E #262FB0 #3E48D5 #7078E0

Accessibility & contrast

On white

9.92
#262FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262FB0
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262FB0#FFFFFF#000000##FFFFFF
##262FB01.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #262fb0;
/* rgb */ color: rgb(38, 47, 176);
/* oklch */ color: oklch(40.0% 0.199 270.3);
Tailwind
colors: {
  custom: {
    50: '#7969c9',
    500: '#262fb0',
    950: '#000000',
  },
}
SCSS
$custom: #262fb0;
$custom-light: #7969c9;
$custom-dark: #000000;
JSON
{
  "hex": "#262fb0",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 236.087,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.3997,
    "c": 0.19909,
    "h": 270.3
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#262FB0
secondary
#C7C16B
accent
#DD40E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #262FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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