#262B9C#262B9C

#262B9C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.178 H 271.9°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#262B9C
RGBrgb(38, 43, 156)
HSLhsl(237, 61%, 38%)
HSVhsv(237, 76%, 61%)
CMYKcmyk(75.6%, 72.4%, 0%, 38.8%)
CIE-LABlab(25.38, 37.63, -61.51)
CIE-LCHlch(25.38, 72.11, 301.46°)
OKLaboklab(37.24% 0.0059 -0.178)
OKLCHoklch(37.24% 0.178 271.9)
XYZxyz(7.6619, 4.5393, 31.9184)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B9C #9C9726
analogous
#26669C #262B9C #5C269C
triadic
#262B9C #9C262B #2B9C26
tetradic
#262B9C #9C2666 #9C9726 #269C5C
square
#262B9C #9C2666 #9C9726 #269C5C
split-complementary
#262B9C #9C5C26 #669C26
monochromatic
#0E103A #1A1D6B #262B9C #3239CD #6368D9

Accessibility & contrast

On white

11.01
#262B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#262B9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B9C
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B9C#FFFFFF#000000##FFFFFF
##262B9C1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #262b9c;
/* rgb */ color: rgb(38, 43, 156);
/* oklch */ color: oklch(37.2% 0.178 271.9);
Tailwind
colors: {
  custom: {
    50: '#7465ba',
    500: '#262b9c',
    950: '#000000',
  },
}
SCSS
$custom: #262b9c;
$custom-light: #7465ba;
$custom-dark: #000000;
JSON
{
  "hex": "#262b9c",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 237.458,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37242,
    "c": 0.17812,
    "h": 271.9
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#262B9C
secondary
#BFBB5F
accent
#DD44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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