#262B71#262B71

#262B71 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.1% C 0.119 H 274.7°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#262B71
RGBrgb(38, 43, 113)
HSLhsl(236, 50%, 30%)
HSVhsv(236, 66%, 44%)
CMYKcmyk(66.4%, 61.9%, 0%, 55.7%)
CIE-LABlab(21.33, 21.89, -41.22)
CIE-LCHlch(21.33, 46.67, 297.97°)
OKLaboklab(33.05% 0.0098 -0.1186)
OKLCHoklch(33.05% 0.119 274.7)
XYZxyz(4.6429, 3.3317, 16.0180)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B71 #716C26
analogous
#265171 #262B71 #472671
triadic
#262B71 #71262B #2B7126
tetradic
#262B71 #712651 #716C26 #267147
square
#262B71 #712651 #716C26 #267147
split-complementary
#262B71 #714726 #517126
monochromatic
#080917 #171A43 #262B71 #353C9F #4E56C3

Accessibility & contrast

On white

12.60
#262B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#262B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B71
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B71#FFFFFF#000000##FFFFFF
##262B711.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #262b71;
/* rgb */ color: rgb(38, 43, 113);
/* oklch */ color: oklch(33.1% 0.119 274.7);
Tailwind
colors: {
  custom: {
    50: '#6a649a',
    500: '#262b71',
    950: '#000000',
  },
}
SCSS
$custom: #262b71;
$custom-light: #6a649a;
$custom-dark: #000000;
JSON
{
  "hex": "#262b71",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 236,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3305,
    "c": 0.11902,
    "h": 274.7
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#262B71
secondary
#A49E4F
accent
#D04FD9
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #262B71

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

Preview Lab → · Contrast checker → · Palette generator →

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