#262DAF#262DAF

#262DAF is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.200 H 270.6°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#262DAF
RGBrgb(38, 45, 175)
HSLhsl(237, 64%, 42%)
HSVhsv(237, 78%, 69%)
CMYKcmyk(78.3%, 74.3%, 0%, 31.4%)
CIE-LABlab(27.80, 43.03, -69.01)
CIE-LCHlch(27.80, 81.33, 301.95°)
OKLaboklab(39.57% 0.0021 -0.1998)
OKLCHoklch(39.57% 0.2 270.6)
XYZxyz(9.4729, 5.3829, 41.0889)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262DAF #AFA826
analogous
#2672AF #262DAF #6426AF
triadic
#262DAF #AF262D #2DAF26
tetradic
#262DAF #AF2672 #AFA826 #26AF64
square
#262DAF #AF2672 #AFA826 #26AF64
split-complementary
#262DAF #AF6426 #72AF26
monochromatic
#10134A #1B207D #262DAF #3D45D5 #7075E0

Accessibility & contrast

On white

10.11
#262DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#262DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262DAF
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262DAF#FFFFFF#000000##FFFFFF
##262DAF1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #262daf;
/* rgb */ color: rgb(38, 45, 175);
/* oklch */ color: oklch(39.6% 0.200 270.6);
Tailwind
colors: {
  custom: {
    50: '#7967c8',
    500: '#262daf',
    950: '#000000',
  },
}
SCSS
$custom: #262daf;
$custom-light: #7967c8;
$custom-dark: #000000;
JSON
{
  "hex": "#262daf",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 236.934,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39565,
    "c": 0.19986,
    "h": 270.6
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#262DAF
secondary
#C7C26A
accent
#DF40E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #262DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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