#234182#234182

#234182 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.115 H 263.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#234182
RGBrgb(35, 65, 130)
HSLhsl(221, 58%, 32%)
HSVhsv(221, 73%, 51%)
CMYKcmyk(73.1%, 50%, 0%, 49%)
CIE-LABlab(28.77, 12.66, -39.95)
CIE-LCHlch(28.77, 41.91, 287.58°)
OKLaboklab(39.03% -0.0133 -0.1146)
OKLCHoklch(39.03% 0.115 263.4)
XYZxyz(6.6113, 5.7489, 21.8760)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234182 #826423
analogous
#237082 #234182 #352382
triadic
#234182 #822341 #418223
tetradic
#234182 #822370 #826423 #238235
square
#234182 #822370 #826423 #238235
split-complementary
#234182 #823523 #708223
monochromatic
#091122 #162952 #234182 #3059B2 #5078D0

Accessibility & contrast

On white

9.77
#234182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#234182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234182
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234182#FFFFFF#000000##FFFFFF
##2341821.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4884
Deuteranopia (green-blind)
#034081
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #234182;
/* rgb */ color: rgb(35, 65, 130);
/* oklch */ color: oklch(39.0% 0.115 263.4);
Tailwind
colors: {
  custom: {
    50: '#6b75a7',
    500: '#234182',
    950: '#000000',
  },
}
SCSS
$custom: #234182;
$custom-light: #6b75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#234182",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 221.053,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39027,
    "c": 0.11538,
    "h": 263.4
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#234182
secondary
#B3934D
accent
#B047E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #234182

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

Preview Lab → · Contrast checker → · Palette generator →

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