#262B95#262B95

#262B95 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.169 H 272.3°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#262B95
RGBrgb(38, 43, 149)
HSLhsl(237, 59%, 37%)
HSVhsv(237, 74%, 58%)
CMYKcmyk(74.5%, 71.1%, 0%, 41.6%)
CIE-LABlab(24.67, 35.15, -58.39)
CIE-LCHlch(24.67, 68.16, 301.04°)
OKLaboklab(36.52% 0.0069 -0.1689)
OKLCHoklch(36.52% 0.169 272.3)
XYZxyz(7.0862, 4.3090, 28.8862)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B95 #959026
analogous
#266395 #262B95 #592695
triadic
#262B95 #95262B #2B9526
tetradic
#262B95 #952663 #959026 #269559
square
#262B95 #952663 #959026 #269559
split-complementary
#262B95 #955926 #639526
monochromatic
#0D0F33 #1A1D64 #262B95 #3239C6 #5F65D6

Accessibility & contrast

On white

11.28
#262B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#262B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B95
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B95#FFFFFF#000000##FFFFFF
##262B951.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262b95;
/* rgb */ color: rgb(38, 43, 149);
/* oklch */ color: oklch(36.5% 0.169 272.3);
Tailwind
colors: {
  custom: {
    50: '#7265b5',
    500: '#262b95',
    950: '#000000',
  },
}
SCSS
$custom: #262b95;
$custom-light: #7265b5;
$custom-dark: #000000;
JSON
{
  "hex": "#262b95",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 237.297,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36516,
    "c": 0.16906,
    "h": 272.3
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#262B95
secondary
#BBB75B
accent
#DB45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262B95

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

Preview Lab → · Contrast checker → · Palette generator →

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