#262B94#262B94

#262B94 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.168 H 272.4°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#262B94
RGBrgb(38, 43, 148)
HSLhsl(237, 59%, 36%)
HSVhsv(237, 74%, 58%)
CMYKcmyk(74.3%, 70.9%, 0%, 42%)
CIE-LABlab(24.57, 34.79, -57.94)
CIE-LCHlch(24.57, 67.59, 300.98°)
OKLaboklab(36.41% 0.007 -0.1676)
OKLCHoklch(36.41% 0.168 272.4)
XYZxyz(7.0067, 4.2772, 28.4676)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B94 #948F26
analogous
#266294 #262B94 #582694
triadic
#262B94 #94262B #2B9426
tetradic
#262B94 #942662 #948F26 #269458
square
#262B94 #942662 #948F26 #269458
split-complementary
#262B94 #945826 #629426
monochromatic
#0D0F33 #191D63 #262B94 #3339C5 #5F64D6

Accessibility & contrast

On white

11.32
#262B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#262B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B94
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B94#FFFFFF#000000##FFFFFF
##262B941.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262b94;
/* rgb */ color: rgb(38, 43, 148);
/* oklch */ color: oklch(36.4% 0.168 272.4);
Tailwind
colors: {
  custom: {
    50: '#7265b4',
    500: '#262b94',
    950: '#000000',
  },
}
SCSS
$custom: #262b94;
$custom-light: #7265b4;
$custom-dark: #000000;
JSON
{
  "hex": "#262b94",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 237.273,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36414,
    "c": 0.16775,
    "h": 272.4
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#262B94
secondary
#BBB75B
accent
#DB45E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262B94

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

Preview Lab → · Contrast checker → · Palette generator →

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