#262DA0#262DA0

#262DA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.181 H 271.4°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#262DA0
RGBrgb(38, 45, 160)
HSLhsl(237, 62%, 39%)
HSVhsv(237, 76%, 63%)
CMYKcmyk(76.3%, 71.9%, 0%, 37.3%)
CIE-LABlab(26.23, 37.82, -62.55)
CIE-LCHlch(26.23, 73.09, 301.16°)
OKLaboklab(37.98% 0.0043 -0.181)
OKLCHoklch(37.98% 0.181 271.4)
XYZxyz(8.0807, 4.8260, 33.7565)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262DA0 #A09926
analogous
#266AA0 #262DA0 #5C26A0
triadic
#262DA0 #A0262D #2DA026
tetradic
#262DA0 #A0266A #A09926 #26A05C
square
#262DA0 #A0266A #A09926 #26A05C
split-complementary
#262DA0 #A05C26 #6AA026
monochromatic
#0F113D #1A1F6F #262DA0 #343DCF #666CDB

Accessibility & contrast

On white

10.68
#262DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#262DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262DA0
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262DA0#FFFFFF#000000##FFFFFF
##262DA01.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262da0;
/* rgb */ color: rgb(38, 45, 160);
/* oklch */ color: oklch(38.0% 0.181 271.4);
Tailwind
colors: {
  custom: {
    50: '#7567bd',
    500: '#262da0',
    950: '#000000',
  },
}
SCSS
$custom: #262da0;
$custom-light: #7567bd;
$custom-dark: #000000;
JSON
{
  "hex": "#262da0",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 236.557,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37978,
    "c": 0.18108,
    "h": 271.4
  },
  "luminance": 0.04827
}

Semantic roles & 50–950 ramp

primary
#262DA0
secondary
#C0BB61
accent
#DB43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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