#262D88#262D88

#262D88 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.149 H 272.7°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#262D88
RGBrgb(38, 45, 136)
HSLhsl(236, 56%, 34%)
HSVhsv(236, 72%, 53%)
CMYKcmyk(72.1%, 66.9%, 0%, 46.7%)
CIE-LABlab(23.89, 29.13, -51.61)
CIE-LCHlch(23.89, 59.27, 299.44°)
OKLaboklab(35.57% 0.007 -0.1491)
OKLCHoklch(35.57% 0.149 272.7)
XYZxyz(6.1802, 4.0658, 23.7469)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D88 #888126
analogous
#265E88 #262D88 #502688
triadic
#262D88 #88262D #2D8826
tetradic
#262D88 #88265E #888126 #268850
square
#262D88 #88265E #888126 #268850
split-complementary
#262D88 #885026 #5E8826
monochromatic
#0B0D28 #191D58 #262D88 #333DB8 #5861D0

Accessibility & contrast

On white

11.58
#262D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#262D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D88
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D88#FFFFFF#000000##FFFFFF
##262D881.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262d88;
/* rgb */ color: rgb(38, 45, 136);
/* oklch */ color: oklch(35.6% 0.149 272.7);
Tailwind
colors: {
  custom: {
    50: '#6f66ac',
    500: '#262d88',
    950: '#000000',
  },
}
SCSS
$custom: #262d88;
$custom-light: #6f66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#262d88",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 235.714,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35567,
    "c": 0.14925,
    "h": 272.7
  },
  "luminance": 0.04066
}

Semantic roles & 50–950 ramp

primary
#262D88
secondary
#B5AE55
accent
#D548E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262D88

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

Preview Lab → · Contrast checker → · Palette generator →

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