#262B9E#262B9E

#262B9E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.181 H 271.8°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#262B9E
RGBrgb(38, 43, 158)
HSLhsl(238, 61%, 38%)
HSVhsv(238, 76%, 62%)
CMYKcmyk(75.9%, 72.8%, 0%, 38%)
CIE-LABlab(25.59, 38.33, -62.39)
CIE-LCHlch(25.59, 73.23, 301.57°)
OKLaboklab(37.45% 0.0056 -0.1806)
OKLCHoklch(37.45% 0.181 271.8)
XYZxyz(7.8327, 4.6076, 32.8177)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B9E #9E9926
analogous
#26679E #262B9E #5D269E
triadic
#262B9E #9E262B #2B9E26
tetradic
#262B9E #9E2667 #9E9926 #269E5D
square
#262B9E #9E2667 #9E9926 #269E5D
split-complementary
#262B9E #9E5D26 #679E26
monochromatic
#0E103B #1A1E6D #262B9E #333ACE #6569DA

Accessibility & contrast

On white

10.93
#262B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#262B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B9E
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B9E#FFFFFF#000000##FFFFFF
##262B9E1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #262b9e;
/* rgb */ color: rgb(38, 43, 158);
/* oklch */ color: oklch(37.5% 0.181 271.8);
Tailwind
colors: {
  custom: {
    50: '#7565bc',
    500: '#262b9e',
    950: '#000000',
  },
}
SCSS
$custom: #262b9e;
$custom-light: #7565bc;
$custom-dark: #000000;
JSON
{
  "hex": "#262b9e",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 237.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37452,
    "c": 0.18067,
    "h": 271.8
  },
  "luminance": 0.04608
}

Semantic roles & 50–950 ramp

primary
#262B9E
secondary
#C0BC60
accent
#DE43E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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