#262B8D#262B8D

#262B8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.158 H 272.8°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#262B8D
RGBrgb(38, 43, 141)
HSLhsl(237, 58%, 35%)
HSVhsv(237, 73%, 55%)
CMYKcmyk(73%, 69.5%, 0%, 44.7%)
CIE-LABlab(23.88, 32.27, -54.75)
CIE-LCHlch(23.88, 63.55, 300.51°)
OKLaboklab(35.71% 0.0079 -0.1583)
OKLCHoklch(35.71% 0.158 272.8)
XYZxyz(6.4693, 4.0623, 25.6373)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B8D #8D8826
analogous
#265F8D #262B8D #54268D
triadic
#262B8D #8D262B #2B8D26
tetradic
#262B8D #8D265F #8D8826 #268D54
square
#262B8D #8D265F #8D8826 #268D54
split-complementary
#262B8D #8D5426 #5F8D26
monochromatic
#0C0E2D #191C5D #262B8D #333ABD #5B61D3

Accessibility & contrast

On white

11.59
#262B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262B8D
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B8D#FFFFFF#000000##FFFFFF
##262B8D1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262b8d;
/* rgb */ color: rgb(38, 43, 141);
/* oklch */ color: oklch(35.7% 0.158 272.8);
Tailwind
colors: {
  custom: {
    50: '#7065af',
    500: '#262b8d',
    950: '#000000',
  },
}
SCSS
$custom: #262b8d;
$custom-light: #7065af;
$custom-dark: #000000;
JSON
{
  "hex": "#262b8d",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 237.087,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35705,
    "c": 0.15847,
    "h": 272.8
  },
  "luminance": 0.04063
}

Semantic roles & 50–950 ramp

primary
#262B8D
secondary
#B8B357
accent
#D947E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #262B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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