#262E71#262E71

#262E71 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.115 H 273.4°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#262E71
RGBrgb(38, 46, 113)
HSLhsl(234, 50%, 30%)
HSVhsv(234, 66%, 44%)
CMYKcmyk(66.4%, 59.3%, 0%, 55.7%)
CIE-LABlab(22.15, 19.80, -39.88)
CIE-LCHlch(22.15, 44.53, 296.40°)
OKLaboklab(33.66% 0.0068 -0.1146)
OKLCHoklch(33.66% 0.115 273.4)
XYZxyz(4.7560, 3.5579, 16.0557)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E71 #716926
analogous
#265471 #262E71 #442671
triadic
#262E71 #71262E #2E7126
tetradic
#262E71 #712654 #716926 #267144
square
#262E71 #712654 #716926 #267144
split-complementary
#262E71 #714426 #547126
monochromatic
#080917 #171B43 #262E71 #35419F #4E5AC3

Accessibility & contrast

On white

12.27
#262E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262E71
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E71#FFFFFF#000000##FFFFFF
##262E711.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262e71;
/* rgb */ color: rgb(38, 46, 113);
/* oklch */ color: oklch(33.7% 0.115 273.4);
Tailwind
colors: {
  custom: {
    50: '#6a669a',
    500: '#262e71',
    950: '#000000',
  },
}
SCSS
$custom: #262e71;
$custom-light: #6a669a;
$custom-dark: #000000;
JSON
{
  "hex": "#262e71",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 233.6,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33664,
    "c": 0.11484,
    "h": 273.4
  },
  "luminance": 0.03558
}

Semantic roles & 50–950 ramp

primary
#262E71
secondary
#A49B4F
accent
#CA4FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #262E71

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

Preview Lab → · Contrast checker → · Palette generator →

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