#262B8E#262B8E

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

Color values

HEX#262B8E
RGBrgb(38, 43, 142)
HSLhsl(237, 58%, 35%)
HSVhsv(237, 73%, 56%)
CMYKcmyk(73.2%, 69.7%, 0%, 44.3%)
CIE-LABlab(23.97, 32.63, -55.21)
CIE-LCHlch(23.97, 64.13, 300.58°)
OKLaboklab(35.81% 0.0078 -0.1596)
OKLCHoklch(35.81% 0.16 272.8)
XYZxyz(6.5441, 4.0922, 26.0309)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B8E #8E8926
analogous
#265F8E #262B8E #55268E
triadic
#262B8E #8E262B #2B8E26
tetradic
#262B8E #8E265F #8E8926 #268E55
square
#262B8E #8E265F #8E8926 #268E55
split-complementary
#262B8E #8E5526 #5F8E26
monochromatic
#0C0E2D #191C5E #262B8E #333ABE #5B61D3

Accessibility & contrast

On white

11.55
#262B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#262B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B8E
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B8E#FFFFFF#000000##FFFFFF
##262B8E1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262b8e;
/* rgb */ color: rgb(38, 43, 142);
/* oklch */ color: oklch(35.8% 0.160 272.8);
Tailwind
colors: {
  custom: {
    50: '#7165b0',
    500: '#262b8e',
    950: '#000000',
  },
}
SCSS
$custom: #262b8e;
$custom-light: #7165b0;
$custom-dark: #000000;
JSON
{
  "hex": "#262b8e",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 237.115,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35805,
    "c": 0.1598,
    "h": 272.8
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

primary
#262B8E
secondary
#B8B358
accent
#DA47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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