#262BAF#262BAF

#262BAF is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.3% C 0.202 H 270.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#262BAF
RGBrgb(38, 43, 175)
HSLhsl(238, 64%, 42%)
HSVhsv(238, 78%, 69%)
CMYKcmyk(78.3%, 75.4%, 0%, 31.4%)
CIE-LABlab(27.39, 44.18, -69.69)
CIE-LCHlch(27.39, 82.51, 302.37°)
OKLaboklab(39.28% 0.0029 -0.2018)
OKLCHoklch(39.28% 0.202 270.8)
XYZxyz(9.3984, 5.2339, 41.0640)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262BAF #AFAA26
analogous
#2670AF #262BAF #6626AF
triadic
#262BAF #AF262B #2BAF26
tetradic
#262BAF #AF2670 #AFAA26 #26AF66
square
#262BAF #AF2670 #AFAA26 #26AF66
split-complementary
#262BAF #AF6626 #70AF26
monochromatic
#10124A #1B1F7D #262BAF #3D43D5 #7074E0

Accessibility & contrast

On white

10.26
#262BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#262BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262BAF
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262BAF#FFFFFF#000000##FFFFFF
##262BAF1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262baf;
/* rgb */ color: rgb(38, 43, 175);
/* oklch */ color: oklch(39.3% 0.202 270.8);
Tailwind
colors: {
  custom: {
    50: '#7966c8',
    500: '#262baf',
    950: '#000000',
  },
}
SCSS
$custom: #262baf;
$custom-light: #7966c8;
$custom-dark: #000000;
JSON
{
  "hex": "#262baf",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 237.81,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39275,
    "c": 0.20182,
    "h": 270.8
  },
  "luminance": 0.05235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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