#262EAF#262EAF

#262EAF is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.199 H 270.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#262EAF
RGBrgb(38, 46, 175)
HSLhsl(236, 64%, 42%)
HSVhsv(236, 78%, 69%)
CMYKcmyk(78.3%, 73.7%, 0%, 31.4%)
CIE-LABlab(28.01, 42.45, -68.67)
CIE-LCHlch(28.01, 80.73, 301.72°)
OKLaboklab(39.71% 0.0017 -0.1989)
OKLCHoklch(39.71% 0.199 270.5)
XYZxyz(9.5116, 5.4601, 41.1018)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262EAF #AFA726
analogous
#2673AF #262EAF #6226AF
triadic
#262EAF #AF262E #2EAF26
tetradic
#262EAF #AF2673 #AFA726 #26AF62
square
#262EAF #AF2673 #AFA726 #26AF62
split-complementary
#262EAF #AF6226 #73AF26
monochromatic
#10144A #1B217D #262EAF #3D46D5 #7076E0

Accessibility & contrast

On white

10.04
#262EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#262EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262EAF
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262EAF#FFFFFF#000000##FFFFFF
##262EAF1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262eaf;
/* rgb */ color: rgb(38, 46, 175);
/* oklch */ color: oklch(39.7% 0.199 270.5);
Tailwind
colors: {
  custom: {
    50: '#7968c8',
    500: '#262eaf',
    950: '#000000',
  },
}
SCSS
$custom: #262eaf;
$custom-light: #7968c8;
$custom-dark: #000000;
JSON
{
  "hex": "#262eaf",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 236.496,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39713,
    "c": 0.19887,
    "h": 270.5
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#262EAF
secondary
#C7C16A
accent
#DE40E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #262EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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