#262B8F#262B8F

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

Color values

HEX#262B8F
RGBrgb(38, 43, 143)
HSLhsl(237, 58%, 35%)
HSVhsv(237, 73%, 56%)
CMYKcmyk(73.4%, 69.9%, 0%, 43.9%)
CIE-LABlab(24.07, 32.99, -55.67)
CIE-LCHlch(24.07, 64.71, 300.65°)
OKLaboklab(35.91% 0.0076 -0.161)
OKLCHoklch(35.91% 0.161 272.7)
XYZxyz(6.6195, 4.1223, 26.4281)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B8F #8F8A26
analogous
#265F8F #262B8F #55268F
triadic
#262B8F #8F262B #2B8F26
tetradic
#262B8F #8F265F #8F8A26 #268F55
square
#262B8F #8F265F #8F8A26 #268F55
split-complementary
#262B8F #8F5526 #5F8F26
monochromatic
#0C0E2E #191C5F #262B8F #333ABF #5C61D4

Accessibility & contrast

On white

11.51
#262B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262B8F
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B8F#FFFFFF#000000##FFFFFF
##262B8F1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262b8f;
/* rgb */ color: rgb(38, 43, 143);
/* oklch */ color: oklch(35.9% 0.161 272.7);
Tailwind
colors: {
  custom: {
    50: '#7165b1',
    500: '#262b8f',
    950: '#000000',
  },
}
SCSS
$custom: #262b8f;
$custom-light: #7165b1;
$custom-dark: #000000;
JSON
{
  "hex": "#262b8f",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 237.143,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35906,
    "c": 0.16114,
    "h": 272.7
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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