#262CAF#262CAF

#262CAF is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.4% C 0.201 H 270.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#262CAF
RGBrgb(38, 44, 175)
HSLhsl(237, 64%, 42%)
HSVhsv(237, 78%, 69%)
CMYKcmyk(78.3%, 74.9%, 0%, 31.4%)
CIE-LABlab(27.59, 43.61, -69.35)
CIE-LCHlch(27.59, 81.92, 302.16°)
OKLaboklab(39.42% 0.0025 -0.2008)
OKLCHoklch(39.42% 0.201 270.7)
XYZxyz(9.4352, 5.3075, 41.0763)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262CAF #AFA926
analogous
#2671AF #262CAF #6526AF
triadic
#262CAF #AF262C #2CAF26
tetradic
#262CAF #AF2671 #AFA926 #26AF65
square
#262CAF #AF2671 #AFA926 #26AF65
split-complementary
#262CAF #AF6526 #71AF26
monochromatic
#10134A #1B1F7D #262CAF #3D44D5 #7074E0

Accessibility & contrast

On white

10.19
#262CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#262CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262CAF
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262CAF#FFFFFF#000000##FFFFFF
##262CAF1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #262caf;
/* rgb */ color: rgb(38, 44, 175);
/* oklch */ color: oklch(39.4% 0.201 270.7);
Tailwind
colors: {
  custom: {
    50: '#7967c8',
    500: '#262caf',
    950: '#000000',
  },
}
SCSS
$custom: #262caf;
$custom-light: #7967c8;
$custom-dark: #000000;
JSON
{
  "hex": "#262caf",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 237.372,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39418,
    "c": 0.20085,
    "h": 270.7
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#262CAF
secondary
#C7C36A
accent
#E040E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #262CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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