#262A85#262A85

#262A85 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.149 H 273.6°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#262A85
RGBrgb(38, 42, 133)
HSLhsl(237, 56%, 34%)
HSVhsv(237, 71%, 52%)
CMYKcmyk(71.4%, 68.4%, 0%, 47.8%)
CIE-LABlab(22.86, 30.00, -51.41)
CIE-LCHlch(22.86, 59.53, 300.26°)
OKLaboklab(34.74% 0.0094 -0.1485)
OKLCHoklch(34.74% 0.149 273.6)
XYZxyz(5.8595, 3.7609, 22.6029)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A85 #858126
analogous
#265985 #262A85 #512685
triadic
#262A85 #85262A #2A8526
tetradic
#262A85 #852659 #858126 #268551
square
#262A85 #852659 #858126 #268551
split-complementary
#262A85 #855126 #598526
monochromatic
#0B0C26 #181B55 #262A85 #3439B5 #575CCF

Accessibility & contrast

On white

11.98
#262A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#262A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A85
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A85#FFFFFF#000000##FFFFFF
##262A851.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262a85;
/* rgb */ color: rgb(38, 42, 133);
/* oklch */ color: oklch(34.7% 0.149 273.6);
Tailwind
colors: {
  custom: {
    50: '#6f64a9',
    500: '#262a85',
    950: '#000000',
  },
}
SCSS
$custom: #262a85;
$custom-light: #6f64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#262a85",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 237.474,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34735,
    "c": 0.14882,
    "h": 273.6
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#262A85
secondary
#B3AF53
accent
#D949DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #262A85

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

Preview Lab → · Contrast checker → · Palette generator →

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