#262B7E#262B7E

#262B7E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.138 H 273.9°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#262B7E
RGBrgb(38, 43, 126)
HSLhsl(237, 54%, 32%)
HSVhsv(237, 70%, 49%)
CMYKcmyk(69.8%, 65.9%, 0%, 50.6%)
CIE-LABlab(22.46, 26.75, -47.66)
CIE-LCHlch(22.46, 54.66, 299.31°)
OKLaboklab(34.24% 0.0093 -0.1375)
OKLCHoklch(34.24% 0.138 273.9)
XYZxyz(5.4278, 3.6457, 20.1523)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B7E #7E7926
analogous
#26577E #262B7E #4D267E
triadic
#262B7E #7E262B #2B7E26
tetradic
#262B7E #7E2657 #7E7926 #267E4D
square
#262B7E #7E2657 #7E7926 #267E4D
split-complementary
#262B7E #7E4D26 #577E26
monochromatic
#0A0B20 #181B4F #262B7E #343BAD #535ACB

Accessibility & contrast

On white

12.14
#262B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#262B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B7E
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B7E#FFFFFF#000000##FFFFFF
##262B7E1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262b7e;
/* rgb */ color: rgb(38, 43, 126);
/* oklch */ color: oklch(34.2% 0.138 273.9);
Tailwind
colors: {
  custom: {
    50: '#6d64a4',
    500: '#262b7e',
    950: '#000000',
  },
}
SCSS
$custom: #262b7e;
$custom-light: #6d64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#262b7e",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 236.591,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34242,
    "c": 0.13782,
    "h": 273.9
  },
  "luminance": 0.03646
}

Semantic roles & 50–950 ramp

primary
#262B7E
secondary
#B0AA50
accent
#D54BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #262B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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