#262B98#262B98

#262B98 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.173 H 272.1°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#262B98
RGBrgb(38, 43, 152)
HSLhsl(237, 60%, 37%)
HSVhsv(237, 75%, 60%)
CMYKcmyk(75%, 71.7%, 0%, 40.4%)
CIE-LABlab(24.97, 36.22, -59.74)
CIE-LCHlch(24.97, 69.86, 301.23°)
OKLaboklab(36.83% 0.0065 -0.1728)
OKLCHoklch(36.83% 0.173 272.1)
XYZxyz(7.3288, 4.4061, 30.1639)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B98 #989326
analogous
#266498 #262B98 #5A2698
triadic
#262B98 #98262B #2B9826
tetradic
#262B98 #982664 #989326 #26985A
square
#262B98 #982664 #989326 #26985A
split-complementary
#262B98 #985A26 #649826
monochromatic
#0E0F36 #1A1D67 #262B98 #3239C9 #6166D7

Accessibility & contrast

On white

11.16
#262B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#262B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B98
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B98#FFFFFF#000000##FFFFFF
##262B981.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#003696
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262b98;
/* rgb */ color: rgb(38, 43, 152);
/* oklch */ color: oklch(36.8% 0.173 272.1);
Tailwind
colors: {
  custom: {
    50: '#7365b7',
    500: '#262b98',
    950: '#000000',
  },
}
SCSS
$custom: #262b98;
$custom-light: #7365b7;
$custom-dark: #000000;
JSON
{
  "hex": "#262b98",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 237.368,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36826,
    "c": 0.17296,
    "h": 272.1
  },
  "luminance": 0.04407
}

Semantic roles & 50–950 ramp

primary
#262B98
secondary
#BDB95D
accent
#DC45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262B98

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

Preview Lab → · Contrast checker → · Palette generator →

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