#262E98#262E98

#262E98 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.170 H 271.6°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#262E98
RGBrgb(38, 46, 152)
HSLhsl(236, 60%, 37%)
HSVhsv(236, 75%, 60%)
CMYKcmyk(75%, 69.7%, 0%, 40.4%)
CIE-LABlab(25.66, 34.33, -58.60)
CIE-LCHlch(25.66, 67.92, 300.36°)
OKLaboklab(37.32% 0.0048 -0.1695)
OKLCHoklch(37.32% 0.17 271.6)
XYZxyz(7.4419, 4.6323, 30.2016)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E98 #989026
analogous
#266798 #262E98 #572698
triadic
#262E98 #98262E #2E9826
tetradic
#262E98 #982667 #989026 #269857
square
#262E98 #982667 #989026 #269857
split-complementary
#262E98 #985726 #679826
monochromatic
#0E1036 #1A1F67 #262E98 #323DC9 #6169D7

Accessibility & contrast

On white

10.90
#262E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#262E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E98
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E98#FFFFFF#000000##FFFFFF
##262E981.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#003796
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #262e98;
/* rgb */ color: rgb(38, 46, 152);
/* oklch */ color: oklch(37.3% 0.170 271.6);
Tailwind
colors: {
  custom: {
    50: '#7367b7',
    500: '#262e98',
    950: '#000000',
  },
}
SCSS
$custom: #262e98;
$custom-light: #7367b7;
$custom-dark: #000000;
JSON
{
  "hex": "#262e98",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 235.789,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37323,
    "c": 0.1696,
    "h": 271.6
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#262E98
secondary
#BDB65D
accent
#D845E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262E98

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

Preview Lab → · Contrast checker → · Palette generator →

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