#262B85#262B85

#262B85 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.148 H 273.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#262B85
RGBrgb(38, 43, 133)
HSLhsl(237, 56%, 34%)
HSVhsv(237, 71%, 52%)
CMYKcmyk(71.4%, 67.7%, 0%, 47.8%)
CIE-LABlab(23.11, 29.34, -51.01)
CIE-LCHlch(23.11, 58.85, 299.91°)
OKLaboklab(34.91% 0.0087 -0.1473)
OKLCHoklch(34.91% 0.148 273.4)
XYZxyz(5.8954, 3.8327, 22.6149)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B85 #858026
analogous
#265A85 #262B85 #502685
triadic
#262B85 #85262B #2B8526
tetradic
#262B85 #85265A #858026 #268550
square
#262B85 #85265A #858026 #268550
split-complementary
#262B85 #855026 #5A8526
monochromatic
#0B0C26 #181C55 #262B85 #343AB5 #575DCF

Accessibility & contrast

On white

11.89
#262B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#262B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B85
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B85#FFFFFF#000000##FFFFFF
##262B851.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262b85;
/* rgb */ color: rgb(38, 43, 133);
/* oklch */ color: oklch(34.9% 0.148 273.4);
Tailwind
colors: {
  custom: {
    50: '#6e64a9',
    500: '#262b85',
    950: '#000000',
  },
}
SCSS
$custom: #262b85;
$custom-light: #6e64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#262b85",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 236.842,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34914,
    "c": 0.14759,
    "h": 273.4
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#262B85
secondary
#B3AE53
accent
#D749DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #262B85

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

Preview Lab → · Contrast checker → · Palette generator →

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