#262B7A#262B7A

#262B7A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.132 H 274.1°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#262B7A
RGBrgb(38, 43, 122)
HSLhsl(236, 53%, 31%)
HSVhsv(236, 69%, 48%)
CMYKcmyk(68.9%, 64.8%, 0%, 52.2%)
CIE-LABlab(22.10, 25.26, -45.71)
CIE-LCHlch(22.10, 52.23, 298.93°)
OKLaboklab(33.87% 0.0095 -0.1318)
OKLCHoklch(33.87% 0.132 274.1)
XYZxyz(5.1749, 3.5445, 18.8200)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B7A #7A7526
analogous
#26557A #262B7A #4B267A
triadic
#262B7A #7A262B #2B7A26
tetradic
#262B7A #7A2655 #7A7526 #267A4B
square
#262B7A #7A2655 #7A7526 #267A4B
split-complementary
#262B7A #7A4B26 #557A26
monochromatic
#090A1D #171B4B #262B7A #353BA9 #5159C9

Accessibility & contrast

On white

12.29
#262B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#262B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B7A
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B7A#FFFFFF#000000##FFFFFF
##262B7A1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262b7a;
/* rgb */ color: rgb(38, 43, 122);
/* oklch */ color: oklch(33.9% 0.132 274.1);
Tailwind
colors: {
  custom: {
    50: '#6c64a1',
    500: '#262b7a',
    950: '#000000',
  },
}
SCSS
$custom: #262b7a;
$custom-light: #6c64a1;
$custom-dark: #000000;
JSON
{
  "hex": "#262b7a",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 236.429,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33867,
    "c": 0.13213,
    "h": 274.1
  },
  "luminance": 0.03545
}

Semantic roles & 50–950 ramp

primary
#262B7A
secondary
#ACA750
accent
#D34CDC
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #262B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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