#234082#234082

#234082 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.8% C 0.117 H 263.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#234082
RGBrgb(35, 64, 130)
HSLhsl(222, 58%, 32%)
HSVhsv(222, 73%, 51%)
CMYKcmyk(73.1%, 50.8%, 0%, 49%)
CIE-LABlab(28.47, 13.35, -40.43)
CIE-LCHlch(28.47, 42.57, 288.27°)
OKLaboklab(38.8% -0.0123 -0.116)
OKLCHoklch(38.8% 0.117 263.9)
XYZxyz(6.5544, 5.6351, 21.8570)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234082 #826523
analogous
#237082 #234082 #352382
triadic
#234082 #822340 #408223
tetradic
#234082 #822370 #826523 #238235
square
#234082 #822370 #826523 #238235
split-complementary
#234082 #823523 #708223
monochromatic
#091122 #162852 #234082 #3058B2 #5077D0

Accessibility & contrast

On white

9.87
#234082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#234082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234082
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234082#FFFFFF#000000##FFFFFF
##2340821.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4884
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #234082;
/* rgb */ color: rgb(35, 64, 130);
/* oklch */ color: oklch(38.8% 0.117 263.9);
Tailwind
colors: {
  custom: {
    50: '#6b74a7',
    500: '#234082',
    950: '#000000',
  },
}
SCSS
$custom: #234082;
$custom-light: #6b74a7;
$custom-dark: #000000;
JSON
{
  "hex": "#234082",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 221.684,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.388,
    "c": 0.11668,
    "h": 263.9
  },
  "luminance": 0.05636
}

Semantic roles & 50–950 ramp

primary
#234082
secondary
#B3944D
accent
#B247E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #234082

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

Preview Lab → · Contrast checker → · Palette generator →

#234082 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva