#262AAF#262AAF

#262AAF is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.1% C 0.203 H 270.9°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#262AAF
RGBrgb(38, 42, 175)
HSLhsl(238, 64%, 42%)
HSVhsv(238, 78%, 69%)
CMYKcmyk(78.3%, 76%, 0%, 31.4%)
CIE-LABlab(27.19, 44.75, -70.02)
CIE-LCHlch(27.19, 83.09, 302.58°)
OKLaboklab(39.13% 0.0033 -0.2028)
OKLCHoklch(39.13% 0.203 270.9)
XYZxyz(9.3625, 5.1621, 41.0521)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262AAF #AFAB26
analogous
#266FAF #262AAF #6726AF
triadic
#262AAF #AF262A #2AAF26
tetradic
#262AAF #AF266F #AFAB26 #26AF67
square
#262AAF #AF266F #AFAB26 #26AF67
split-complementary
#262AAF #AF6726 #6FAF26
monochromatic
#10124A #1B1E7D #262AAF #3D42D5 #7073E0

Accessibility & contrast

On white

10.33
#262AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#262AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262AAF
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262AAF#FFFFFF#000000##FFFFFF
##262AAF1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #262aaf;
/* rgb */ color: rgb(38, 42, 175);
/* oklch */ color: oklch(39.1% 0.203 270.9);
Tailwind
colors: {
  custom: {
    50: '#7965c8',
    500: '#262aaf',
    950: '#000000',
  },
}
SCSS
$custom: #262aaf;
$custom-light: #7965c8;
$custom-dark: #000000;
JSON
{
  "hex": "#262aaf",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 238.248,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39133,
    "c": 0.20278,
    "h": 270.9
  },
  "luminance": 0.05163
}

Semantic roles & 50–950 ramp

primary
#262AAF
secondary
#C7C46A
accent
#E240E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #262AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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